Q3UnknownBinary_GetData
You can use theQ3UnknownBinary_GetDatafunction to get the data of an unknown binary object.
TQ3Status Q3UnknownBinary_GetData ( TQ3UnknownObject unknownObject, TQ3UnknownBinaryData *unknownBinaryData);
unknownObject- An unknown binary object.
unknownBinaryData- A pointer to an unknown binary data structure.
DESCRIPTION
TheQ3UnknownBinary_GetDatafunction returns, in thecontentsfield of the unknown binary data structure pointed to by theunknownBinaryDataparameter, a pointer to a copy of the contents of the unknown binary object (that is, an unknown object of typekQ3UnknownTypeBinary) specified by theunknownObjectparameter.Q3UnknownBinary_GetDataalso returns, in theobjectTypeandsizefields of the unknown binary data structure, the type of the unknown binary object and the size, in bytes, of the data pointed to by thecontentsfield.Your application is responsible for allocating the memory occupied by the
unknownBinaryDataparameter.Q3UnknownBinary_GetDataallocates memory to hold the data pointed to by thecontentsfield of that structure. You must make certain to callQ3UnknownBinary_EmptyDatato release the memory allocated byQ3UnknownBinary_GetDatawhen you are finished using the data.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help