Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
Data Structures


Unknown Object Data Structures

QuickDraw 3D returns data about unknown text or binary data objects in an unknown text data structure or an unknown binary data structure. An unknown text data structure is defined by the TQ3UnknownTextData data type.

typedef struct TQ3UnknownTextData {
   char                 *objectName;   /*'\0' terminated*/
   char                 *contents;     /*'\0' terminated*/
} TQ3UnknownTextData;
Field Description
objectName
A pointer to the name of the unknown text object. This name is a C string terminated by the null character ('\0').
contents
A pointer to the contents of the unknown text object. This string is a C string terminated by the null character ('\0').
An unknown binary data structure is defined by the TQ3UnknownBinaryData data type.

typedef struct TQ3UnknownBinaryData {
   TQ3ObjectType              objectType;
   unsigned long              size;
   TQ3Endian                  byteOrder;
   char                       *contents;
} TQ3UnknownBinaryData;
Field Description
objectType
The type of the data in the unknown binary object.
size
The size, in bytes, of the data in the unknown binary object.
byteOrder
The order in which the bytes in a word are addressed. This field must contain kQ3EndianBig or kQ3EndianLittle.
contents
A pointer to a copy of the data of the unknown binary object.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help