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