Microsoft DirectX 8.1 (C++) |
The GetWindowHandle method retrieves the current window handle.
Syntax
HRESULT GetWindowHandle(
HWND *pHwnd
);
Parameters
pHwnd
[out] Pointer to a variable that receives the window handle.
Return Value
Returns S_OK if successful. If the method fails, it returns an HRESULT error code.
See Also