add GetHWnd and SetHWnd clipper functions
This commit is contained in:
parent
60a956e715
commit
a8b3b1c736
4 changed files with 36 additions and 8 deletions
|
@ -5,6 +5,23 @@
|
|||
#include "debug.h"
|
||||
|
||||
|
||||
HRESULT ddc_GetHWnd(IDirectDrawClipperImpl* This, HWND FAR* lphWnd)
|
||||
{
|
||||
if (!lphWnd)
|
||||
return DDERR_INVALIDPARAMS;
|
||||
|
||||
*lphWnd = This->hwnd;
|
||||
|
||||
return DD_OK;
|
||||
}
|
||||
|
||||
HRESULT ddc_SetHWnd(IDirectDrawClipperImpl* This, DWORD dwFlags, HWND hWnd)
|
||||
{
|
||||
This->hwnd = hWnd;
|
||||
|
||||
return DD_OK;
|
||||
}
|
||||
|
||||
HRESULT dd_CreateClipper(DWORD dwFlags, IDirectDrawClipperImpl** lplpDDClipper, IUnknown FAR* pUnkOuter)
|
||||
{
|
||||
if (!lplpDDClipper)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue