IPOutlookApp::Logoff (Compact 7)
The Logoff method logs off the user from a POOM Session. It should be the last method called for a POOM object.
HRESULT Logoff ();
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The user is already logged off.
The method completed successfully.