XtfRegisterPackage

Registers a package deployed to the title scratch drive.

Syntax

HRESULT XtfRegisterPackage(
         LPCWSTR address,
         LPCWSTR titleScratchRelativePath,
         XtfPackageInfo *packageInfo
)  

Parameters

address
Type: LPCWSTR 

[in] Address of the console.

titleScratchRelativePath
Type: LPCWSTR 

[in] The path to the package to register.

packageInfo
Type: XtfPackageInfo *

[out] Package information object about the package that was registered. Use XtfClosePackageInfo to free the package information object when you are done with it.

Return value

Type: HRESULT 

Returns S_OK if successful; otherwise returns an error code.

Requirements

Header: Declared in XtfApi.h.

Library: Use XtfApi.lib.