次の方法で共有


CeSyncStart (Windows Embedded CE 6.0)

1/6/2010

This function begins synchronization between a desktop and a remote Windows Embedded CE–based device.

HRESULT CeSyncStart(
  LPCWSTR szCommand
);

Parameters

  • szCommand
    [in] This parameter should always be NULL.

Return Values

S_OK indicates success. An error code indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.

Remarks

When this function is called, ActiveSync will begin to synchronize data between the desktop and the device. The set of items that are synchronized are determined by the previously established partnership between the device and the desktop. Calling this method initiates the same actions as the user clicking the Sync button in the ActiveSync window.Use the CeSyncStop function to stop synchronization.

Requirements

Header rapi.h
Library rapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

RAPI Functions
CeSyncStop