Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This is an ActiveSync service provider function called when the service provider is disabled in the Activesync Optionsdialog box.
Syntax
HRESULT WINAPI OnSSPDisable( HWND hwndParent ); |
Parameters
- hwndParent
-
[in] Handle for the service provider to use to parent any dialog box it displays when this function is called.
Return Value
Returns S_OK. The ActiveSync engine does not process the return value.
Remarks
The IReplStore::Initializefunction may not have been called prior to this function being called. Thus the caller must not use any internal variables that depend on a prior call to IReplStore::Initialize.
Code Example
The following code example demonstrates how to use OnSSPDisable.
Note: |
---|
To make the following code example easier to read, security checking and error handling are not included. This code example should not be used in a release configuration unless it has been modified to include them. |
Copy Code | |
---|---|
HRESULT WINAPI OnSSPDisable (HWND hWndParent) { // The IReplStore::Initialize function might not have been called prior // to this function being called, so you must not use internal // variables that depend on IReplStore::Initialize being called. MessageBox(hWndParent, _T("SSP was just disabled"), _T("My SSP"), MB_OK); return S_OK; } |
Requirements
Header | cesync.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.