Skip to content

Latest commit

 

History

History
162 lines (135 loc) · 5.07 KB

nf-vswriter-ivsscreateexpresswritermetadata-addcomponentdependency.md

File metadata and controls

162 lines (135 loc) · 5.07 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vswriter.IVssCreateExpressWriterMetadata.AddComponentDependency
IVssCreateExpressWriterMetadata::AddComponentDependency (vswriter.h)
Allows an express writer to indicate that a component it manages has an explicit writer-component dependency; that is, another component (possibly managed by another writer) must be backed up and restored with it.
AddComponentDependency
AddComponentDependency method
AddComponentDependency method
IVssCreateExpressWriterMetadata interface
IVssCreateExpressWriterMetadata interface
AddComponentDependency method
IVssCreateExpressWriterMetadata.AddComponentDependency
IVssCreateExpressWriterMetadata::AddComponentDependency
base.ivsscreateexpresswritermetadata_addcomponentdependency
vswriter/IVssCreateExpressWriterMetadata::AddComponentDependency
base\ivsscreateexpresswritermetadata_addcomponentdependency.htm
base
1d7e28de-8bb7-4ab4-bcdd-554d47007233
12/05/2018
AddComponentDependency, AddComponentDependency method, AddComponentDependency method,IVssCreateExpressWriterMetadata interface, IVssCreateExpressWriterMetadata interface,AddComponentDependency method, IVssCreateExpressWriterMetadata.AddComponentDependency, IVssCreateExpressWriterMetadata::AddComponentDependency, base.ivsscreateexpresswritermetadata_addcomponentdependency, vswriter/IVssCreateExpressWriterMetadata::AddComponentDependency
vswriter.h
Vss.h, VsWriter.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
VssApi.lib
Windows
19H1
IVssCreateExpressWriterMetadata::AddComponentDependency
vswriter/IVssCreateExpressWriterMetadata::AddComponentDependency
c++
APIRef
kbSyntax
COM
VssApi.lib
VssApi.dll
IVssCreateExpressWriterMetadata.AddComponentDependency

IVssCreateExpressWriterMetadata::AddComponentDependency

-description

Allows an express writer to indicate that a component it manages has an explicit writer-component dependency; that is, another component (possibly managed by another writer) must be backed up and restored with it.

-parameters

-param wszForLogicalPath [in]

A null-terminated wide character string containing the logical path of the component (managed by the express writer) that requires a dependency.

-param wszForComponentName [in]

A null-terminated wide character string containing the component (managed by the express writer) that requires a dependency.

-param onWriterId [in]

A VSS_ID (GUID) value that specifies the writer class of the express writer managing the component on which the current component depends.

-param wszOnLogicalPath [in]

The logical path of the component (managed by the express writer identified by onWriterId) on which the current component depends.

-param wszOnComponentName [in]

The name of the component (managed by the express writer identified by onWriterId) on which the current component depends.

-returns

The following are the valid return codes for this method.

Value Meaning
S_OK
The operation was successful.
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.
VSS_E_OBJECT_NOT_FOUND
The component specified by wszForLogicalPath and wszForComponentName does not exist.
VSS_E_UNEXPECTED
Unexpected error. The error code is logged in the error log file. For more information, see Event and Error Handling Under VSS.

Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP:  This value is not supported until Windows Server 2008 R2 and Windows 7. E_UNEXPECTED is used instead.

-see-also

IVssCreateExpressWriterMetadata