IDirectDrawClipper::GetHWnd

HRESULT GetHWnd(HWND FAR * lphWnd);

Retrieves the window handle 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 window handle previously associated with this DirectDrawClipper object by the IDirectDrawClipper::SetHWnd method.