大家看看:f
STDMETHOD(CreateSurface)(THIS_
LPDDSURFACEDESC lpdd, LPDIRECTDRAWSURFACE FAR *lf, IUnknown FAR *unf)
{
char buf[512];
sprintf(buf, "CreateSurface(%x, %x, %x)", lpdd, lf, unf);
MessageBox(0,buf,0,0);
return m_ddraw->CreateSurface(lpdd, lf, unf);
}
STDMETHOD(SetCooperativeLevel)(THIS_ HWND hwnd, DWORD dw)
{
char buf[512];
sprintf(buf, "SetCooperativeLevel(%x, %x)", hwnd, dw);
MessageBox(0,buf,0,0);
return m_ddraw->SetCooperativeLevel(hwnd, dw);
}
STDMETHOD(SetDisplayMode)(THIS_ DWORD dw, DWORD dw2, DWORD dw3)
{
char buf[512];
sprintf(buf, "SetDisplayMode(%x, %x, %x)", dw, dw2, dw3);
MessageBox(0,buf,0,0);
return m_ddraw->SetDisplayMode(dw, dw2, dw3);
}
[[italic] 本帖最后由 flyue 于 2007-12-21 13:07 编辑 [/italic]]