2.2.6.1 RSM_MESSAGE Structure

The RSM_MESSAGE structure describes a message.

 typedef struct _RSM_MESSAGE {
   [unique] LPGUID lpguidOperation;
   DWORD dwNtmsType;
   DWORD dwState;
   DWORD dwFlags;
   DWORD dwPriority;
   DWORD dwErrorCode;
   [string, unique] wchar_t* lpszComputerName;
   [string] wchar_t* lpszApplication;
   [string] wchar_t* lpszUser;
   [string] wchar_t* lpszTimeSubmitted;
   [string] wchar_t* lpszMessage;
 } RSM_MESSAGE,
  *LPRSM_MESSAGE;

lpguidOperation: A pointer to the identifier of the operation to which the message refers.

dwNtmsType: A value from the NtmsObjectsTypes (section 2.2.1.6) enumeration specifying the type of object to which the message refers.

dwState: A value from the NtmsLmState (section 2.2.1.10) enumeration specifying the state of the operation to which the message refers.

dwFlags: This parameter is unused. It MUST be 0 and MUST be ignored on receipt.

dwPriority: The priority of the message.

dwErrorCode: An implementation-specific, nonzero error code.

lpszComputerName: A null-terminated sequence of Unicode characters specifying the name of the computer from which the message was sent.

lpszApplication: A null-terminated sequence of Unicode characters specifying the name of the application sending the message.

lpszUser: A null-terminated sequence of Unicode characters specifying the name of the user sending the message.

lpszTimeSubmitted: The null-terminated time at which the message was created.

lpszMessage: The null-terminated description of the message.