Platform SDK: DirectX

DirectDrawClipper.GetHWnd

The DirectDrawClipper.GetHWnd method retrieves the window handle previously associated with this DirectDrawClipper object by the DirectDrawClipper.SetHWnd method.

object.GetHWnd() As Long

Parameters

object
Object expression that resolves to a DirectDrawClipper object.

Return Values

If the method succeeds, it returns the window handle.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS

See Also

DirectDrawClipper.SetHWnd