- Inside Macintosh: Open Transport /
- Chapter 2 - Providers / Providers Reference
- Functions / Opening and Closing Providers
OTWhoAmI
Returns the current client's client ID.
C INTERFACE
OSClient OTWhoAmI(void);
C++ INTERFACE
None. C++ applications use the C interface to this function.
DESCRIPTION
The OTWhoAmI function returns the current client's client ID. This function is used by the current owner of a provider that is to be transferred to a new owner. The current client provides this ID to the new owner for use as the OTTransferProviderOwnership function's prevOwner parameter.
SEE ALSO
To transfer ownership, use the OTTransferProviderOwnership function (page 2-24).
© Apple Computer, Inc.
15 AUG 1996