Export (0) Print
Expand All

IVssExpressWriter::Load method

Causes VSS to load the writer's metadata from a string instead of the express writer metadata store.

Syntax


HRESULT Load(
  [in]  LPCWSTR metadata,
  [in]  DWORD reserved
);

Parameters

metadata [in]

A null-terminated wide character string that contains the writer's metadata.

reserved [in]

This parameter is reserved for system use.

Return value

The following are the valid return codes for this method.

ValueMeaning
S_OK
0x00000000L

The operation was successful.

VSS_E_INVALID_XML_DOCUMENT
0x80042311L

The XML document is not valid. Check the event log for details. For more information, see Event and Error Handling Under VSS.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

VsWriter.h

See also

IVssExpressWriter

 

 

Community Additions

ADD
Show:
© 2014 Microsoft