All interface methods which have tresult as return type must return kResultOk to indicate success, or one of the following result codes in case of error:
The SDK provides a C++ class FUID for handling 16 Byte Globaly Unique Identifiers. Each interface declares its identifier as static member inside the interface namespace (e.g. FUnknown::iid).
Methods:
Generate a new Unique Identifier (UID). Will return true for success. If the return value is false, either no UID is generated or the UID is not guaranteed to be unique worldwide.
Check if the UID data is valid. The default constructor initializes the memory with zeros.
Convert UID to a string. The string will be 32 characters long, representing the hexadecimal values of each data byte (e.g. "9127BE30160E4BB69966670AA6087880").
Set the UID data from a string. The string has to be 32 characters long, where each character-pair is the ASCII-encoded hexadecimal value of the corresponding data byte.
Convert UID to a string in Microsoft® OLE format (e.g. "{c200e360-38c5-11ce-ae62-08002b2b79ef}").
Set the UID data from a string in Microsoft® OLE format.
Print the UID to a string (or debug output if string is NULL). The format can be FUID::kINLINE_UID, FUID::kDECLARE_UID or FUID::kFUID.
struct ViewRect { long left; long top; long right; long bottom; };