OTDeleteNameByID
Removes a previously registered name as specified by its name ID.C INTERFACE
OSErr OTDeleteNameByID (MapperRef ref, OTNameID id);C++ INTERFACES
TMapper::DeleteName(OTNameID id);PARAMETERS
ref- A mapper reference.
id- The name ID, a long specifying a number that identifies the registered name.
DESCRIPTION
If the name-registration protocol defined using theconfigparameter to theOTOpenMapperorOTAsyncOpenMapperfunction supports dynamic name and address registration, you can use theOTDeleteNameByIDfunction to delete a registered name.If the mapper is in asynchronous mode, the
OTDeleteNameByIDfunction returns immediately. When the function completes execution, the mapper provider calls the notifier function, passingT_DELNAMECOMPLETEfor thecodeparameter, and a pointer to theidparameter in thecookieparameter.SEE ALSO
The name ID that you delete using theOTDeleteNameByIDfunction is returned in thereplyparameter to theOTRegisterNamefunction (page 4-21).You use the
OTOpenMapperfunction (page 4-19) orOTAsyncOpenMapperfunction (page 4-16) to create a mapper.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help