The RaiseRawStatusMsg Windows Management Instrumentation (WMI) class method, in Configuration Manager, creates a status message from an external message DLL.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

UInt32 RaiseRawStatusMsg(
   String ModuleName,
   UInt32 MessageType,
   UInt32 MessageID,
   UInt32 Win32Error,
   UInt32 ProcessID,
   UInt32 ThreadID,
   DateTime Time,
   UInt32 AttrIDs[],
   String AttrValues[],
   String TopLevelSiteCode
);

Parameters

ModuleName

Data type: StringQualifiers: [in]The name of the DLL module.
MessageType

Data type: UInt32Qualifiers: [in]The message type. Possible values are defined by the MessageType property of SMS_StatusMessage Server WMI Class.
MessageID

Data type: UInt32Qualifiers: [in, Range("0-65535")]ID of the message. See the MessageID property of SMS_StatusMessage Server WMI Class.
Win32Error

Data type: UInt32Qualifiers: [in, optional]Win32 error code associated with the status message.
ProcessID

Data type: UInt32Qualifiers: [in, optional] ID of the process that created the message. The default value is 0.
ThreadID

Data type: UInt32Qualifiers: [in, optional] ID of the thread that created the message. The default value is 0.
Time

Data type: DateTimeQualifiers: [in, optional] Date and time, in Universal Coordinated Time (UTC), when the status message was created. The default value indicates current time.
AttrIDs

Data type: UInt32 ArrayQualifiers: [in, optional] IDs of message attributes.
AttrValues

Data type: String ArrayQualifiers: [in, optional] Values of message attributes.
TopLevelSiteCode

Data type: StringQualifiers: [in, optional] This property is deprecated.

Return Values

A UInt32 data type.

Requirements

Runtime Requirements

Development Requirements

See Also