Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPlayToManagerInterop::GetForWindow method

Gets the PlayToManager instance for the specified window.

Syntax


HRESULT GetForWindow(
  [in]          HWND   appWindow,
  [in]          REFIID riid,
  [out, retval] void   **playToManager
);

Parameters

appWindow [in]

The window to get the PlayToManager instance for.

riid [in]

The reference ID of the specified window.

playToManager [out, retval]

The PlayToManager instance for the specified window.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You can use the GetForWindow method to get the PlayToManager for the specified window. The GetForWindow method is equivalent to the GetForCurrentView method, except that you supply a reference to a window from a multi-window Windows Store app.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

Playtomanagerinterop.idl

See also

GetForCurrentView
PlayToManager
IPlayToManagerInterop

 

 

Community Additions

Show:
© 2015 Microsoft