MI_OperationOptions_SetNumber function (mi.h)

Sets a custom number option value.

Syntax

MI_INLINE MI_Result MI_OperationOptions_SetNumber(
  [in, out] MI_OperationOptions *options,
            const MI_Char       *optionName,
  [in]      MI_Uint32           value,
            MI_Uint32           flags
);

Parameters

[in, out] options

A pointer to a MI_OperationOptions structure.

optionName

A null-terminated string that represents the name of the option to set.

[in] value

New option value.

flags

Option flags.

Return value

This function returns MI_INLINE MI_Result.

Requirements

Requirement Value
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