IShareWindowCommandEventArgsInterop::GetWindow method (sharewindowcommandsourceinterop.h)

Gets the window identifier (a window handle).

Important

The IShareWindowCommandEventArgsInterop::GetWindow API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, contact Microsoft Support.

Syntax

HRESULT GetWindow(
  HWND *value
);

Parameters

value

Type: HWND*

The address of a HWND in which to receive the window identifier (a window handle).

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For a code example, see IShareWindowCommandEventArgsInterop.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Target Platform Windows
Header sharewindowcommandsourceinterop.h

See also