IStdMarshalInfo interface (objidl.h)

Retrieves the CLSID identifying the handler to be used in the destination process during standard marshaling.


The IStdMarshalInfo interface inherits from the IUnknown interface. IStdMarshalInfo also has these types of members:


The IStdMarshalInfo interface has these methods.


The IStdMarshalInfo::GetClassForHandler method (objidl.h) retrieves the CLSID of the object handler to be used in the destination process during standard marshaling.


An object that uses OLE's default implementation of IMarshal does not provide its own proxy but, by implementing IStdMarshalInfo, can nevertheless specify a handler to be loaded in the client process. Such a handler would typically handle certain requests in-process and use OLE's default marshaling to delegate others back to the original object.

To create an instance of an object in some client process, COM must first determine whether the object uses default marshaling or its own implementation. If the object uses default marshaling, COM then queries the object to determine whether it uses a special handler or, simply, OLE's default proxy. To get the CLSID of the handler to be loaded, COM queries the object for IStdMarshalInfo and then the IPersist interface. If neither interface is supported, a standard handler is used.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h (include ObjIdl.h)

See also