Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the specified window handle is owned by the object.
![]() |
Syntax
HRESULT retVal = object.IsNSCWindowOwner(hwnd);
Parameters
hwnd [in]
Type: HWNDA window handle.
Return value
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The window handle is owned by the object. |
S_FALSE | The window handle is not owned by the object. |
E_NOTIMPL | Not implemented. |
Remarks
If implemented, returns S_OK if the window handle is owned by the object, S_FALSE if not.