Important: The information in this document is obsolete and should not be used for new development.
OTWhoAmI
Returns the current client's ID.C INTERFACE
OTClient OTWhoAmI(void);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
- function result
- A 32-bit value specifying the client ID.
DISCUSSION
In transferring provider ownership from an old client to a new client, the old client must obtain its own current client ID (by calling theOTWhoAmI
function) and must use some means to communicate this value to the new client. The new client then uses this value as theprevOwner
parameter to theOTTransferProviderOwnership
function that it calls to gain ownership of the provider.SEE ALSO
TheOTTransferProviderOwnership
function.