Provider::SetCreationClassName method (provider.h)
[The Provider class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The SetCreationClassName method sets the CreationClassName string property, if any, of the given instance to the name of this provider.
Platform::Boolean SetCreationClassName( CInstance *pInstance );
Pointer to the affected instance.
Returns TRUE if the operation was successful and FALSE if it was unsuccessful.
The SetCreationClassName method sets the value of the CreateClassName property to the name of the current class. Not all classes have a CreationClassName property.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||provider.h (include FwCommon.h)|