Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
This method creates an export object.
HRESULT Create( ULONG cbWhereabouts, byte * rgbWhereabouts, ITransactionExport ** ppExport);
[in] The size in bytes of rgbWhereabouts.
[in] Pointer to the whereabouts.
[out] Pointer to the pointer to the ITransactionExport interface on the export object. The export object represents the connection between the caller of ITransactionExportFactory::Create and the destination process which provided the whereabouts. The caller uses the export object returned by this method to marshal a transaction object for export to the destination process.
The data in rgbWhereabouts is corrupted.
The value of either rgbWhereabouts or ppExport is NULL.
Unable to allocate memory.
Unable to connect to the transaction manager, or the transaction manager is unavailable.
No longer able to communicate with the transaction manager because the connection to the transaction manager failed.
The transaction manager refused to accept a connection.
The whereabouts is from a remote node, but Network Transactions is disabled.
The whereabouts is from a remote node and the DTC proxy is the latest version, but network transactions have been disabled.
For an explanation of the requirement values, see Requirements (Component Services).
Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista
Header: Declared in txcoord.h