|Microsoft DirectX 9.0|
The SetHWnd method sets the window handle that will be used to obtain clipping information.
HRESULT SetHWnd( DWORD dwFlags, HWND hWnd );
Not in use.
The window handle associated with the clipping information.
|DD_OK||The method succeeded.|
|DDERR_INVALIDOBJECT||DirectDraw received a pointer that was an invalid DirectDraw object.|
|DDERR_INVALIDPARAMS||One or more of the parameters passed to the function are incorrect.|
|DDERR_OUTOFMEMORY||DirectDraw does not have enough memory to perform the operation.|