FtmBase Class


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Represents a free-threaded marshaler object.

class FtmBase : public Microsoft::WRL::Implements<  
   Microsoft::WRL::RuntimeClassFlags< WinRtClassicComMix >,   
   Microsoft::WRL::CloakedIid< IMarshal > >;  

For more information, see the "IMarshal" topic in the "COM Interfaces" subtopic of the "COM Reference" topic in the MSDN Library.

Public Constructors

FtmBase::FtmBase ConstructorInitializes a new instance of the FtmBase class.

Public Methods

FtmBase::CreateGlobalInterfaceTable MethodCreates a global interface table (GIT).
FtmBase::DisconnectObject MethodForcibly releases all external connections to an object. The object's server calls the object's implementation of this method prior to shutting down.
FtmBase::GetMarshalSizeMax MethodGet the upper bound on the number of bytes needed to marshal the specified interface pointer on the specified object.
FtmBase::GetUnmarshalClass MethodGets the CLSID that COM uses to locate the DLL containing the code for the corresponding proxy. COM loads this DLL to create an uninitialized instance of the proxy.
FtmBase::MarshalInterface MethodWrites into a stream the data required to initialize a proxy object in some client process.
FtmBase::ReleaseMarshalData MethodDestroys a marshaled data packet.
FtmBase::UnmarshalInterface MethodInitializes a newly created proxy and returns an interface pointer to that proxy.

Public Data Members

FtmBase::marshaller_ Data MemberHolds a reference to the free threaded marshaler.


Header: ftm.h

Namespace: Microsoft::WRL

Microsoft::WRL Namespace