IGPMStatusMessage::OperationCode method (gpmgmt.h)
Returns a code related to the GPMC operation. The code corresponds to warnings or other errors that occurred during the operation. In the case of warnings, the operation continues. In the case of other errors, the operation stops.
The operation codes are internal identifiers that are defined in Gpmgmt.dll. You can extract a text description of the operation code by using the Message property of IGPMStatusMessage or by using FormatMessage.
Syntax
HRESULT OperationCode();
Return value
JScript
Returns S_OK if successful. Returns a failure code if an error occurs.VB
Returns S_OK if successful. Returns a failure code if an error occurs.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |