![]() |
PBHGetLogInInfoAsync |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the login method used to log on to a particular shared volume.
OSErr PBHGetLogInInfoAsync ( HParmBlkPtr paramBlock );
A pointer to an objParam variant of the HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a volume specification.
On output, the login method type. See
On output, a pointer to the user name. The login user name is returned as a Pascal string. The maximum size of the user name is 31 characters.
The PBHGetLogInInfoAsync function returns the method used for login and the user name specified at login time for the volume specified by the ioVRefNum field.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)