UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mi.MI_Instance_AddElement |
MI_Instance_AddElement function (mi.h) |
Adds a new property to a dynamic instance (supported only by dynamic instances whose schema may be extended at run time). |
|
wmi_v2\mi_instance_addelement.htm |
wmi_v2 |
51a26894-f391-4281-9e06-2e70fb662aa2 |
12/05/2018 |
MI_FLAG_ADOPT, MI_FLAG_ANY, MI_FLAG_BORROW, MI_FLAG_IN, MI_FLAG_KEY, MI_FLAG_NULL, MI_FLAG_OUT, MI_FLAG_REQUIRED, MI_FLAG_STREAM, MI_Instance_AddElement, MI_Instance_AddElement function [Windows Management Infrastructure (MI)], mi/MI_Instance_AddElement, wmi_v2.mi_instance_addelement |
mi.h |
Windows |
Windows 8 |
Windows Server 2012 |
Windows |
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |
19H1 |
|
|
|
|
|
|
Adds a new property to a dynamic instance (supported only by dynamic instances whose schema may be extended at run time).
Instance to which the element will be added.
A null-terminated string that represents the name of the new element.
Element value.
Element type.
Flags of the new element that can be a combination of the following flag values.
Element is a key.
Parameter is of type In and is passed into a method.
Parameter is of type Out and is returned from a method.
Parameter is required.
Method parameter will be streamed back to the client from the provider.
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.
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.
Element value is Null.
Bitmask used to filter out other flags.
This function returns MI_INLINE MI_Result MI_INLINE_CALL.