Επεξεργασία

Κοινή χρήση μέσω


IPublishingWizard::GetTransferManifest method (shobjidl.h)

Gets a transfer manifest for a file transfer operation performed by a publishing wizard, such as the Online Print Wizard or the Add Network Place Wizard.

Note  This method is deprecated for Windows Vista, as it is not supported for Online Print Wizard or Add Network Place Wizard.
 

Syntax

HRESULT GetTransferManifest(
  [out] HRESULT         *phrFromTransfer,
  [out] IXMLDOMDocument **pdocManifest
);

Parameters

[out] phrFromTransfer

Type: HRESULT*

A pointer to a variable of type HRESULT that, when this method returns, is set to S_OK if the transfer operation was successful, S_FALSE if the transfer has not yet begun, or a standard error value if the transfer has failed or has been canceled. This value can be NULL if you do not require this information.

[out] pdocManifest

Type: IXMLDOMDocument**

Address of an IXMLDOMDocument interface pointer that, when this method returns, points to the IXMLDOMDocument interface object that represents the manifest. This value can be NULL.

Return value

Type: HRESULT

Returns S_OK if the manifest is successfully retrieved or a standard COM error value otherwise, including the following:

Return code Description
E_UNEXPECTED
The transfer manifest has not yet been created.

Remarks

The transfer manifest is not created until the wizard is actually displayed. For information on displaying a publishing wizard, see the IPublishingWizard topic.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl.h
DLL Netplwiz.dll

See also

IPublishingWizard

Transfer Manifest Schema

Using the Transfer Manifest