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.
.png)