Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » MobiLink - Server-Initiated Synchronization » MobiLink Listener SDK for Palm » Device dependent functions

PalmLsnTargetCompanyID Next Page

PalmLsnTargetDeviceID


Returns the target device ID.

Prototype

UInt32 PalmLsnTargetDeviceID( )

Return Value

A positive integer containing the device ID.

Remarks

You can use PalmLsnTargetCompanyID and PalmLsnTargetDeviceID to check for device compatibility.

See also
Example

The following example returns the device ID for the Treo 600 simulator.

UInt32 PalmLsnTargetDeviceID( void )
/**********************************/
{
    // Simulator device ID is hsDeviceIDOs5Device1Sim 
    return( hsDeviceIDOs5Device1 );
}