]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/common.h
Factorized Direct3DLockSurface/DirectXLock.
[vlc] / modules / video_output / msw / common.h
index 44fcb626940ae9ee0921ada1e516362a4a45b73e..10988df241a705676eeb6f768831a642ffa63759 100644 (file)
@@ -126,6 +126,7 @@ struct vout_display_sys_t
     bool   use_wallpaper;   /* show as desktop wallpaper ? */
 
     bool   use_overlay;     /* Are we using an overlay surface */
+    bool   restore_overlay;
 
     /* DDraw capabilities */
     bool            can_blit_fourcc;
@@ -236,6 +237,7 @@ void CommonClean(vout_display_t *);
 void CommonManage(vout_display_t *);
 int  CommonControl(vout_display_t *, int , va_list );
 void CommonDisplay(vout_display_t *);
+void CommonUpdatePicture(picture_t *, uint8_t *, unsigned);
 
 void UpdateRects (vout_display_t *,
                   const vout_display_cfg_t *,
@@ -256,7 +258,7 @@ void AlignRect(RECT *, int align_boundary, int align_size);
  *****************************************************************************/
 #ifdef UNDER_CE
 
-#define AdjustWindowRect(a,b,c)
+#define AdjustWindowRect(a,b,c) AdjustWindowRectEx(a,b,c,0)
 
 #ifndef GCL_HBRBACKGROUND
 #   define GCL_HBRBACKGROUND (-10)