IMailSyncCallBack::GetGlobalSetting
The GetGlobalSetting method gets the value of the global setting from Messaging.
Syntax
HRESULT GetGlobalSetting (
LPCWSTR pszSetting,
LPSPropValue pval
);
Parameters
- pszSetting
[in] A string value for a Messaging application setting. See Remarks for more information. - pval
[out] Reference to an SPropValue structure that contains the global value of the setting specified by pszSetting. If pval returns a string value, you must use IMailSyncCallBack::FreeMem to free the memory.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
Indicates success.
Remarks
The following table lists the set of possible global property string values.
Constant WCHAR setting | String value |
---|---|
kszCapSaveSent[] | "SaveSent" |
kszCapSMSUnicode[] | "SMSUnicode" |
kszCapIncludeOriginal[] | "IncludeOriginal" |
kszCapIndentBody[] | "IndentBody" |
kszCapAddLeading[] | "AddLeading" |
kszCapLeadChar[] | "LeadChar" |
kszCapSMSRequestStatus[] | "SMSRequestStatus" |
kszCapSMTPAllowAuthLogin[] | "SMTPAllowAuthLogin" |
kszCapDeleteAction[] | "DeleteAction" |
kszCapReturnAddress[] | "ReturnAddress" |
Requirements
Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h
Library: cemapi.lib
See Also
IMailSyncCallBack | IMailSyncCallBack::FreeMem | Messaging | SPropValue
Send Feedback on this topic to the authors