IVssWriterComponents::GetWriterInfo method (vswriter.h)

The GetWriterInfo method gets the instance and class identifier of the writer responsible for the components.

Syntax

HRESULT GetWriterInfo(
  [out] VSS_ID *pidInstance,
  [out] VSS_ID *pidWriter
);

Parameters

[out] pidInstance

Identifier of the writer instance.

[out] pidWriter

Identifier of the writer class.

Return value

The following are the valid return codes for this method.

Value Meaning
S_OK
Successfully returned the component.
E_INVALIDARG
One of the parameter values is not valid.
E_OUTOFMEMORY
The caller is out of memory or other system resources.
VSS_E_INVALID_XML_DOCUMENT
The XML document is not valid. Check the event log for details. For more information, see Event and Error Handling Under VSS.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vswriter.h (include Vss.h, VsWriter.h)
Library VssApi.lib

See also

IVssWriterComponents