MI_OperationOptionsFT structure (mi.h)

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

Syntax

typedef struct _MI_OperationOptionsFT {
  void()(MI_OperationOptions *options)      * Delete;
  MI_Result(MI_OperationOptions *options, const MI_Char *optionName, const MI_Char *value,MI_Uint32 flags) * )(SetString;
  MI_Result((MI_OperationOptions *options, const MI_Char *optionName,MI_Uint32 value,MI_Uint32 flags) * )SetNumber;
  MI_Result(MI_OperationOptions *options, const MI_Char *optionName,MI_Type valueType, const MI_Value *value,MI_Boolean mustComply,MI_Uint32 flags) * )(SetCustomOption;
  MI_Result(OperationOptions *options, const MI_Char *optionName, const MI_Char **value,MI_Uint32 *index,MI_Uint32 *flags) * )(MI_GetString;
  MI_Result(_OperationOptions *options, const MI_Char *optionName,MI_Uint32 *value,MI_Uint32 *index,MI_Uint32 *flags) * )(MIGetNumber;
  MI_Result((MI_OperationOptions *options,MI_Uint32 *count) * )GetOptionCount;
  MI_Result(OperationOptions *options,MI_Uint32 index, const MI_Char **optionName,MI_Value *value,MI_Type *type,MI_Uint32 *flags) * )(MI_GetOptionAt;
  MI_Result(OperationOptions *options, const MI_Char *optionName,MI_Value *value,MI_Type *type,MI_Uint32 *index,MI_Uint32 *flags) * )(MI_GetOption;
  MI_Result(_OperationOptions *options, const MI_Char *optionName,MI_Uint32 *channels,MI_Uint32 bufferLength,MI_Uint32 *channelCount,MI_Uint32 *flags) * )(MIGetEnabledChannels;
  MI_Result((const MI_OperationOptions *self,MI_OperationOptions *newOperationOptions) * )Clone;
  MI_Result(MI_OperationOptions *options, const MI_Char *optionName, const MI_Interval *value,MI_Uint32 flags) * )(SetInterval;
  MI_Result(_OperationOptions *options, const MI_Char *optionName,MI_Interval *value,MI_Uint32 *index,MI_Uint32 *flags) * )(MIGetInterval;
} MI_OperationOptionsFT;

Members

Delete

Deletes an option and its associated memory. See MI_OperationOptions_Delete.

SetString

Sets a custom string option. See MI_OperationOptions_SetString.

SetNumber

Sets a custom number option value. See MI_OperationOptions_SetNumber.

SetCustomOption

Sets a custom option for the operation. See MI_OperationOptions_SetCustomOption.

GetString

Gets a custom string option. See MI_OperationOptions_GetString.

GetNumber

Gets a previously added custom number option. See MI_OperationOptions_GetNumber.

GetOptionCount

Gets the number of options previously added. See MI_OperationOptions_GetOptionCount.

GetOptionAt

Gets a previously added option value based on the specified index. See MI_OperationOptions_GetOptionAt.

GetOption

Gets a previously added option value based on the option name. See MI_OperationOptions_GetOption.

GetEnabledChannels

See MI_OperationOptions_GetEnabledChannels.

Clone

Creates a copy of a MI_OperationOptions structure. See MI_OperationOptions_Clone.

SetInterval

TBD

GetInterval

TBD

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