STDOBJREF is a supporting structure for three of the four different OBJREF formats. It is used to specify standard information about an object reference: number of reference counts and the identifying IPID, OXID, and OID.
The STDOBJREF structure is marshaled by the protocol either as a byte array (for example, when it is marshaled as part of an OBJREF) or in the NDR format (for example, when it is returned as part of a REMQIRESULT from IRemUnknown::RemQueryInterface). The field definitions and meanings are identical in both cases. When the STDOBJREF structure is marshaled as a byte array, all of its fields MUST be marshaled in little-endian order.