IOverlay::GetWindowHandle

 
Microsoft DirectShow 9.0

IOverlay::GetWindowHandle

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also