SetObjectElement method of the BcdObject class
Sets the specified object element.
Syntax
boolean SetObjectElement(
[in] uint32 Type,
[in] string Id
);
Parameters
-
Type [in]
-
The element type. This parameter is one of the Object element types from the following enumerations:
- BcdBootMgrElementTypes
- BcdDeviceObjectElementTypes
- BcdLibraryElementTypes
- BcdMemDiagElementTypes
- BcdOSLoaderElementTypes
It can also be a custom element type created for your own use.
-
Id [in]
-
The object identifier. This is a GUID in string form, surrounded by curly braces.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Namespace |
Root\WMI |
MOF |
|