MI_OperationFT structure (mi.h)
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_Operation *operation) * Close;
MI_Result()(MI_Operation *operation,MI_CancellationReason reason) * Cancel;
MI_Result((MI_Operation *operation,MI_Session *session) * )GetSession;
MI_Result(ration *operation, const MI_Instance **instance,MI_Boolean *moreResults,MI_Result *result, const MI_Char **errorMessage, const MI_Instance **completionDetails) * )(MI_OpeGetInstance;
MI_Result(on *operation, const MI_Instance **instance, const MI_Char **bookmark, const MI_Char **machineID,MI_Boolean *moreResults,MI_Result *result, const MI_Char **errorMessage, const MI_Instance **completionDetails) * )(MI_OperatiGetIndication;
MI_Result(ration *operation, const MI_Class **classResult,MI_Boolean *moreResults,MI_Result *result, const MI_Char **errorMessage, const MI_Instance **completionDetails) * )(MI_OpeGetClass;
} 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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
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 |