OBJREF


OBJREF is the name of the structure of marshalled interfaces in Component [Object Model|COM] and DCOM. Because COM interfaces can only be called directly from the context where they originated, when they are needed in another context they are marshalled in this structure, which is then passed to the destination context where it is unmarshalled to a proxy that takes care of the necessary communication, for example passing messages or network packets or marshalling other interfaces passed in calls.

Format

The layout of the structure is as follows:
The layout of DUALSTRINGARRAY is:
OffsetSizeDescription
02Total number of entries in the arrays below, including nulls
22Number of entries in the array that represent string bindings
42nString and security bindings

The string bindings are null-terminated records specifying connection information, like IP addresses, and the security bindings are null-terminated records specifying authentication information. Both arrays are null-terminated too.