Expand Minimize
This topic has not yet been rated - Rate this topic

MI_ConstStringAField structure

Represents a property inside an MI_Instance structure.

Syntax


typedef struct _MI_ConstStringAField {
  MI_ConstStringA value;
  MI_Boolean      exists;
  MI_Uint8        flags;
} MI_ConstStringAField;

Members

value

A field of type MI_ConstStringA.

exists

Indicates whether the field is non-null. Can be set to MI_TRUE or MI_FALSE.

flags

Bit flags indicating memory management policy.

flagsMeaning
MI_FLAG_NOT_MODIFIED
(1 << 25)

Indicates that the property is not modified.

MI_FLAG_NULL
(1 << 29)

Element value is Null.

MI_FLAG_BORROW
(1 << 30)

Used while adding and setting properties on an MI_Instance to indicate that the instance will not copy the value. The value must stay valid until the instance is deleted.

MI_FLAG_ADOPT
(1 << 31)

Used while adding and setting properties on an MI_Instance to indicate that the instance will adopt the pointer and will be responsible for deleting it.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

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

 

 

Build date: 12/6/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.