8#if defined(_WIN32) && !defined(_NO_COM )
9#define COM_NO_WINDOWS_H
13#if !defined(NT_BUILD_ENVIRONMENT) && !defined(WINNT)
14 #define CO_E_NOTINITIALIZED 0x800401F0
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDIRECTDRAWSURFACE4, LPDDSCAPS2, LPDIRECTDRAWSURFACE4 *)
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDIRECTDRAWSURFACE4, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDIRECTDRAWSURFACE4, DWORD)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWSURFACE4, DWORD)
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDIRECTDRAWSURFACE4, LONG, LONG)
HRESULT WINAPI Main_DDrawSurface_Unlock(LPDIRECTDRAWSURFACE4, LPRECT)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDIRECTDRAWSURFACE4, DWORD, LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDIRECTDRAWSURFACE4, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWPALETTE *)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDIRECTDRAWSURFACE4, DWORD, LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_Restore(LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_GetSurfaceDesc(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDIRECTDRAWSURFACE4, LPRECT, LPDIRECTDRAWSURFACE4, LPRECT, DWORD, LPDDOVERLAYFX)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDIRECTDRAWSURFACE4, LPDDBLTBATCH, DWORD, DWORD)
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDIRECTDRAWSURFACE4, DWORD, DWORD, LPDIRECTDRAWSURFACE4, LPRECT, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDIRECTDRAWSURFACE4, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDIRECTDRAWSURFACE4, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK2)
HRESULT WINAPI Main_DDrawSurface_Blt(LPDIRECTDRAWSURFACE4, LPRECT, LPDIRECTDRAWSURFACE4, LPRECT, DWORD, LPDDBLTFX)
HRESULT WINAPI Main_DDrawSurface_Lock(LPDIRECTDRAWSURFACE4, LPRECT, LPDDSURFACEDESC2, DWORD, HANDLE)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDIRECTDRAWSURFACE4, DWORD)
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDIRECTDRAWSURFACE4, LPDDPIXELFORMAT)
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDIRECTDRAWSURFACE4, LPDIRECTDRAW, LPDDSURFACEDESC2)
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDIRECTDRAWSURFACE4, DDSURFACEDESC2 *, DWORD)
IDirectDrawSurface4Vtbl DirectDrawSurface4_Vtable
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDIRECTDRAWSURFACE4, LPRECT)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWCLIPPER)
HRESULT WINAPI Main_DDrawSurface_GetUniquenessValue(LPDIRECTDRAWSURFACE4, LPDWORD)
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWCLIPPER *)
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDIRECTDRAWSURFACE4, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDIRECTDRAWSURFACE4, HDC *)
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDIRECTDRAWSURFACE4, DWORD)
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDIRECTDRAWSURFACE4, DWORD)
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE4, REFIID, LPVOID *)
ULONG WINAPI Main_DDrawSurface_Release4(LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_GetPrivateData(LPDIRECTDRAWSURFACE4, REFGUID, LPVOID, LPDWORD)
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDIRECTDRAWSURFACE4, HDC)
HRESULT WINAPI Main_DDrawSurface_FreePrivateData(LPDIRECTDRAWSURFACE4, REFGUID)
HRESULT WINAPI Main_DDrawSurface_SetPrivateData(LPDIRECTDRAWSURFACE4, REFGUID, LPVOID, DWORD, DWORD)
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDIRECTDRAWSURFACE4, LPVOID, LPDDENUMSURFACESCALLBACK2)
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDIRECTDRAWSURFACE4, LPDIRECTDRAWPALETTE)
HRESULT WINAPI Main_DDrawSurface_ChangeUniquenessValue(LPDIRECTDRAWSURFACE4)
HRESULT WINAPI Main_DDrawSurface_GetCaps(LPDIRECTDRAWSURFACE4, LPDDSCAPS2 pCaps)
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDIRECTDRAWSURFACE4, LPLONG, LPLONG)
ULONG WINAPI Main_DDrawSurface_AddRef(LPDIRECTDRAWSURFACE4)
struct IDirectDrawSurface4 * LPDIRECTDRAWSURFACE4
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID)
struct IDirectDraw * LPDIRECTDRAW
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags