MI_Session_GetApplication function (mi.h)

Gets the application handle that was used to create the specified session.

Syntax

MI_INLINE MI_Result MI_Session_GetApplication(
  [in]  MI_Session     *session,
  [out] MI_Application *application
);

Parameters

[in] session

Session that was created from MI_Application_NewSession.

[out] application

Returned copy of the application handle that was used to create the specified session.

Return value

None

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2