Carbon


HFSUniStr255

Header: Files.h

Used by the File Manager to return Unicode strings.

struct HFSUniStr255 {
    UInt16 length; 
    UniChar unicode[255];
};
typedef HFSUniStr255 ConstHFSUniStr255Param;

Field descriptions

length

The number of unicode characters in the string.

unicode

The string, in unicode characters.

This data type is a string of up to 255 16-bit Unicode characters, with a preceding 16-bit length (number of characters). Note that only the first length characters have meaningful values; the remaining characters may be set to arbitrary values. A caller should always assume that the entire structure will be modified, even if the actual string length is less than 255.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)