The IStdMarshalInfo interface returns the CLSID identifying the handler to be used in the destination process during standard marshaling.

Even if an object uses standard marshaling instead of custom marshaling, it can still specify a handler that should be loaded in the client process. Such a handler would handle certain requests locally and delegate others back to the original object (using standard marshaling). To get the CLSID of the handler to be loaded, OLE queries the object for the IStdMarshalInfo interface and then the IPersist interface. If neither interface is supported, a standard handler is used.

When to Implement

If you are writing a server application that supports class emulation (that is, if your server can manipulate objects of another type in response to the Activate As option in the Convert dialog box), you must implement the IStdMarshalInfo interface

Note that your handler must aggregate the default handler.

When to Use

You typically don't call this interface yourself. OLE queries for this interface when performing standard marshaling.

Methods in VTable Order

IUnknown Methods
Returns pointers to supported interfaces.
Increments reference count.
Decrements reference count.

IStdMarshalInfo Method


See Also


Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database