Carbon


NSLMakeServicesRequestPB

Header: NSL.h Carbon status: Supported

Creates a request parameter block.

OSStatus NSLMakeServicesRequestPB (
    NSLServicesList serviceList, 
    NSLTypedDataPtr *newDataPtr
);
Parameter descriptions
serviceList

On input, an NSLServicesList created by previously calling NSLMakeNewServicesList.

newDataPtr

On input, the address of the NSLTypedDataPtr at which NSLMakeServicesRequestPB is to place the resulting parameter block.

function result

A result code. A value of noErr indicates that NSLMakeServicesRequestPB returned successfully. Possible errors include kNSLBadDomainErr.

DISCUSSION

The NSLMakeServicesRequestPB function creates a parameter block that is formatted properly for use with subsequent calls to NSLStartServicesLookup.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)