IMSCSMessageManager_3_0::GetMessage
The GetMessage method returns the specified message, based on its identifier and the language with which it is associated.
Syntax
HRESULT GetMessage(
BSTR bstrName,// in
VARIANT vtLanguage,// in
BSTR *Message// out
);
Parameters
-
bstrName
-
A string that identifies the message to retrieve.
-
vtLanguage
-
A VARIANT that identifies the language with which the requested message is associated in the MessageManager. This VARIANT must be either a NULL, empty, or BSTR VARIANT. If NULL or empty, GetMessage returns the requested message for the default language.
-
Message
-
The address of a BSTR in which GetMessage stores the text of the requested message.
Include File
<commerce.h>
Return Values
Value |
Description |
|
S_OK |
The method succeeded, and Message references the text of the message. |
E_INVALIDARG |
The vtLanguage was not NULL, empty, or a BSTR. |
Related Topic
IMSCSMessageManager_3_0::AddMessage
© 1997-1998 Microsoft Corporation. All rights reserved.