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_GetSurfaceDesc(LPDIRECTDRAWSURFACE2, LPDDSURFACEDESC)
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDIRECTDRAWSURFACE2, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWCLIPPER *)
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Unlock(LPDIRECTDRAWSURFACE2, LPVOID)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDIRECTDRAWSURFACE2, LPRECT, LPDIRECTDRAWSURFACE2, LPRECT, DWORD, LPDDOVERLAYFX)
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDIRECTDRAWSURFACE2, LPDIRECTDRAW, LPDDSURFACEDESC)
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDIRECTDRAWSURFACE2, HDC *)
HRESULT WINAPI Main_DDrawSurface_Lock(LPDIRECTDRAWSURFACE2, LPRECT, LPDDSURFACEDESC, DWORD, HANDLE)
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDIRECTDRAWSURFACE2, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDIRECTDRAWSURFACE2, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWPALETTE *)
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDIRECTDRAWSURFACE2, LPLONG, LPLONG)
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDIRECTDRAWSURFACE2, LPRECT)
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDIRECTDRAWSURFACE2, DDSURFACEDESC2, DWORD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDIRECTDRAWSURFACE2, DWORD, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDIRECTDRAWSURFACE2, LPDDBLTBATCH, DWORD, DWORD)
ULONG WINAPI Main_DDrawSurface_Release(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDIRECTDRAWSURFACE2, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWSURFACE2, DWORD)
ULONG WINAPI Main_DDrawSurface_AddRef(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDIRECTDRAWSURFACE2, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDIRECTDRAWSURFACE2, LONG, LONG)
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDIRECTDRAWSURFACE2, LPDDPIXELFORMAT)
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWCLIPPER)
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDIRECTDRAWSURFACE2, DWORD, DWORD, LPDIRECTDRAWSURFACE2, LPRECT, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetCaps(LPDIRECTDRAWSURFACE2, LPDDSCAPS pCaps)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDIRECTDRAWSURFACE2, DWORD)
HRESULT WINAPI Main_DDrawSurface_Restore(LPDIRECTDRAWSURFACE2)
IDirectDrawSurface2Vtbl DirectDrawSurface2_Vtable
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDIRECTDRAWSURFACE2, REFIID, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDIRECTDRAWSURFACE2, DWORD, LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDIRECTDRAWSURFACE2)
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDIRECTDRAWSURFACE2, LPDDSCAPS, LPDIRECTDRAWSURFACE2 *)
HRESULT WINAPI Main_DDrawSurface_Blt(LPDIRECTDRAWSURFACE2, LPRECT, LPDIRECTDRAWSURFACE2, LPRECT, DWORD, LPDDBLTFX)
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDIRECTDRAWSURFACE2, LPDIRECTDRAWPALETTE)
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDIRECTDRAWSURFACE2, HDC)
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDIRECTDRAWSURFACE2, DWORD dwFlags)
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
struct IDirectDraw * LPDIRECTDRAW
struct IDirectDrawSurface2 * LPDIRECTDRAWSURFACE2
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags