XtfGetPackageFullName

Get the full package name from a package information object.

Syntax

HRESULT XtfGetPackageFullName(
         XtfPackageInfo packageInfo,
         PWSTR packageFullName,
         UINT32 *packageFullNameBufferLength
)  

Parameters

packageInfo
Type: XtfPackageInfo 

[in] Information object for the package that was returned by XtfRegisterPackage.

packageFullName
Type: PWSTR 

[out, optional] The full name of the package.

packageFullNameBufferLength
Type: UINT32 *

[in, out] Length of packageFullName buffer in WCHAR.

Return value

Type: HRESULT 

Returns S_OK if successful. Returns HRESULT_FROM_WIN32(ERROR_MORE_DATA) if packageFullName is not large enough and the required buffer length will be returned in packageFullNameBufferLength.

Requirements

Header: Declared in XtfApi.h.

Library: Use XtfApi.lib.