| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_Window method retrieves the window associated with the Video Control.
Syntax
HRESULT get_Window(
  HWND*  phwnd
);
Parameters
phwnd
[out] Pointer to a variable of that receives a handle to the window.
Return Values
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| S_OK | Success. | 
| E_POINTER | NULL pointer argument. | 
See Also