IMailSyncHandler::Initialize
9/8/2008
The Inicializar método for chamado por mensagens de transporte inicialização.
Syntax
HRESULT Initialize (
ImailSyncCallBack * pCallBack,
LPCWSTR pszProfileName,
ImsgStore * pMsgStore
);
Parameters
- pCallBack
[no] Referência a um IMailSyncCallBack objeto que o transporte pode usar para interagir com mensagens.
- pszProfileName
[no] O nome da instância de transporte perfil. Isso é necessário ao se comunicar com mensagens — de exemplo, ao usar IMailSyncCallBack::LogEvent.
- pMsgStore
[no] Referência a um IMsgStore objeto onde o transporte pode armazenar sincronizado baixado mensagens e pastas.
Return Value
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED GPSGetPosition, e E_FAIL, as well as o seguinte.
- S_OK
Indica sucesso.
Remarks
O transporte deve armazenar ausente o parâmetro valores para uso posterior.
Requirements
Header | cemapi.h |
Library | cemapi.lib |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |