XtfClearAllOverlayFolders

Clears the Overlay Folder paths for all packages installed/registered on the console.

Syntax

HRESULT XtfClearAllOverlayFolders( 
        PCWSTR address
)   

Parameters

address
Type: PCWSTR 

[in] Pointer to the address of the console.

Return value

Type: HRESULT 

A return value of S_OK indicates the function succeeded. Any other value indicates an unexpected error occurred.

Remarks

This is equivalent to issuing the command line xbapp overlayfolder /R.

Use XTFSetOverlayFolder to set or clear an overlay folder. Use XtfGetOverlayFolder to retrieve the overlay folder path currently set for a package. Use XtfClearOverlayFolders to clear all overlay folder that were previously set on the console. Use IXtfApplicationClient::GetInstalled to enumerate all packages currently installed on the console.

See also

Debugging with Overlay Folders
Command line tool xbapp overlayfolder

Requirements

Header: Declared in XtfApi.h.

Library: Use XtfApi.lib.