LPDIRECTDRAW7
DirectX中组件DirectDraw7.0的接口对象
原型:
HRESULT WINAPI DirectDrawCreateEx(GUID FAR *lpGUID,
LPVOID *lplpDD,
REFIID iid,
IUnknown FAR *pUnkOuter);
创建方法(C++ SDK):
LPDIRECTDRAW7 lpdd7=NULL;
if (FAILED(DirectDrawCreateEx(NULL,(void**)&lpdd7,IID_IDirectDraw7,NULL)))
return(0);