Windows Dev Center

Expand Minimize

MI_OperationFT structure

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

Syntax


typedef struct _MI_OperationFT {
  MI_Result (MI_CALL *Close)(_Inout_ MI_Operation *operation);
  MI_Result (MI_CALL *Cancel)(
      _Inout_ MI_Operation *operation, 
      MI_CancellationReason reason);
  MI_Result (MI_CALL *GetSession)(
      _In_ MI_Operation *operation, 
      _Out_ MI_Session *session);
  MI_Result (MI_CALL *GetInstance)(
      _In_ MI_Operation *operation, 
      _Out_ const MI_Instance **instance, 
      _Out_opt_ MI_Boolean *moreResults, 
      _Out_opt_ MI_Result *result, 
      _Out_opt_ const MI_Char **errorMessage, 
      _Out_opt_ const MI_Instance **completionDetails);
  MI_Result (MI_CALL *GetIndication)(
      _In_ MI_Operation *operation, 
      _Out_ const MI_Instance **instance, 
      _Out_opt_ const MI_Char **bookmark, 
      _Out_opt_ const MI_Char **machineID, 
      _Out_opt_ MI_Boolean *moreResults, 
      _Out_opt_ MI_Result *result, 
      _Out_opt_ const MI_Char **errorMessage, 
      _Out_opt_ const MI_Instance **completionDetails);
  MI_Result (MI_CALL *GetClass)(
      _In_ MI_Operation *operation, 
      _Out_ const MI_Class **classResult, 
      _Out_opt_ MI_Boolean *moreResults, 
      _Out_opt_ MI_Result *result, 
      _Out_opt_ const MI_Char **errorMessage, 
      _Out_opt_ const MI_Instance **completionDetails);
} MI_OperationFT;

Members

Close

Closes an operation handle. See MI_Operation_Close.

Cancel

Cancels a running operation. See MI_Operation_Cancel.

GetSession

Gets the session associated with an operation. See MI_Operation_GetSession.

GetInstance

Gets a synchronous result for an instance operation. See MI_Operation_GetInstance.

GetIndication

Get the synchronous results from a subscription. See MI_Operation_GetIndication.

GetClass

Closes an operation handle. See MI_Operation_Close.

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:
© 2015 Microsoft