MI_ApplicationFT structure

A support structure used in the MI_Application structure. Use the functions with the name prefix "MI_Application_" to manipulate these structures.

Syntax


typedef struct _MI_ApplicationFT {
  MI_Result (MI_CALL *Close)(_Inout_ MI_Application *application);
  MI_Result (MI_CALL *NewSession)(
      _In_ MI_Application *application, 
      _In_opt_ const MI_Char *protocol, 
      _In_opt_ const MI_Char *destination, 
      _In_opt_ MI_DestinationOptions *options, 
      _In_opt_ MI_SessionCallbacks *callbacks, 
      _Out_opt_ MI_Instance **extendedError, 
      _Out_ MI_Session *session);
  MI_Result (MI_CALL *NewHostedProvider)(
      _In_ MI_Application *application, 
      _In_ const MI_Char *namespaceName, 
      _In_ const MI_Char *providerName, 
      _In_ MI_MainFunction mi_Main, 
      _Out_opt_ MI_Instance **extendedError, 
      _Out_ MI_HostedProvider *provider);
  MI_Result (MI_CALL *NewInstance)(
      _In_ MI_Application *application, 
      _In_ const MI_Char *className, 
      _In_opt_ const MI_ClassDecl *classRTTI, 
      _Out_ MI_Instance **instance);
  MI_Result (MI_CALL *NewDestinationOptions)(
      _In_ MI_Application *application, 
      _Out_ MI_DestinationOptions *options);
  MI_Result (MI_CALL *NewOperationOptions)(
      _In_ MI_Application *application, 
      _In_ MI_Boolean customOptionsMustUnderstand, 
      _Out_ MI_OperationOptions *options);
  MI_Result (MI_CALL *NewSubscriptionDeliveryOptions)(
      _In_ MI_Application *application, 
      _In_ MI_SubscriptionDeliveryType deliveryType, 
      _Out_ MI_SubscriptionDeliveryOptions *deliveryOptions);
  MI_Result (MI_CALL *NewSerializer)(
      _Inout_ MI_Application *application, 
      MI_Uint32 flags, 
      _In_ MI_Char *format, 
      _Out_ MI_Serializer *serializer);
  MI_Result (MI_CALL *NewDeserializer)(
      _Inout_ MI_Application *application, 
      MI_Uint32 *flags, 
      _In_z_ MI_Char *format, 
      _Out_ MI_Deserializer *deserializer);
} MI_ApplicationFT;

Members

Close

Deinitializes the management infrastructure. See MI_Application_Close.

NewSession

Creates a session that allows a group of operations that go to the same destination to be grouped so they can share connections. See MI_Application_NewSession.

NewHostedProvider

Creates a new hosted Provider. See MI_Application_NewHostedProvider.

NewInstance

Creates an instance. See MI_Application_NewInstance.

NewDestinationOptions

Creates an MI_DestinationOptions object. See MI_Application_NewDestinationOptions.

NewOperationOptions

Creates an MI_OperationOptions object. See MI_Application_NewOperationOptions.

NewSubscriptionDeliveryOptions

See MI_Application_NewSubscriptionDeliveryOptions.

NewSerializer

Creates a serializer allowing a MI_Instance or an MI_Class to be persisted in a form that can be stored to disk or transported over a transport. See MI_Application_NewSerializer.

NewDeserializer

Creates a deserializer that can be used to re-create the MI_Instance or MI_Class. See MI_Application_NewDeserializer.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Show: