MI_Application_NewDestinationOptions function (mi.h)

Creates an MI_DestinationOptions object that can be used with the MI_Application_NewSession function.

Syntax

MI_INLINE MI_Result MI_Application_NewDestinationOptions(
  [in]  MI_Application        *application,
  [out] MI_DestinationOptions *options
);

Parameters

[in] application

Handle returned from MI_Application_Initialize.

[out] options

Options container that is returned from this function.

Return value

This function returns MI_INLINE MI_Result.

Remarks

Destination options are used to store the configuration associated with connecting to the destination computer. The available options can vary depending on the underlying protocol. If the session and operations on that session just need to work with the current thread identity (or process if thread is not impersonating), then additional settings may not be needed.

Options must be closed by a call to MI_DestinationOptions_Delete.

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