Platform SDK: DirectX

ID3DXContext::GetWindow

The ID3DXContext::GetWindow method retrieves a handle to the associated window.

HWND GetWindow(); 

Parameters

None.

Return Values

This method returns a handle (HWND) to the associated window.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxcore.h.
  Library: Use d3dx.lib.

See Also

ID3DXContext::GetFocusWindow