IStdMarshalInfo

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
Description
QueryInterface
Returns pointers to supported interfaces.
AddRef
Increments reference count.
Release
Decrements reference count.

IStdMarshalInfo Method
Description


GetClassForHandler

See Also

IMarshal

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