IDirectDrawClipper::GetHWnd

HRESULT GetHWnd(HWND FAR * lphWnd);

Returns the hWnd previously associated with this DirectDrawClipper object by the IDirectDrawClipper::SetHWnd method.

·Returns DD_OK if successful, or one of the following error values otherwise:

DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS

lphWnd

Address of the hWnd previously associated with this DirectDrawClipper by the IDirectDrawClipper::SetHWnd method.