> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetDlc

> IXtfApplicationClient::GetDlc

Gets a list of the downloadable content (DLC) that is currently installed on the development console.

## Syntax

```cpp theme={null}
public:
HRESULT GetDlc(
         LPBSTR pbstrDlcList
)  
```

### Parameters

*pbstrDlcList*\
Type: LPBSTR

A pointer that receives a list of the DLC that is currently installed on the development console.

### Return value

Type: HRESULT

Returns `S_OK` if successful; otherwise, returns an HRESULT error code.

## Remarks

This method gets a list of the downloadable content (DLC) that is currently installed on the development console. This method is similar to the `xbapp listdlc` command from the Application Management (xbapp.exe) tool,  included as part of the XBOX Tools Framework (XTF). For more information about the `xbapp listdlc` command, see [Application Management (xbapp.exe) (NDA topic)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbapp.md).

### Handling LPBSTR pointers

For more information about handling LPBSTR pointers returned by this function, see [Allocating and Releasing Memory for a BSTR](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019).

## Requirements

**Header:** xtfapplication.h

**Library:** xtfapplication.lib

**Supported platforms:** Windows (for XBOX console tools)

## See also

[IXtfApplicationClient Interface](https://docs.xbox.com/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)\
[XtfApplication](https://docs.xbox.com/reference/tools/xtf/xtfapplication/xtfapplication-xbox-microsoft-n.md)


## Related topics

- [IXtfApplicationClient Interface (Interface contents)](https://docs.xbox.com/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)
- [Manage and license downloadable content (DLC)](https://docs.xbox.com/publishing/xstore-commerce/xstore-dlc.md)
- [XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md)
- [XStoreQueryGameAndDlcPackageUpdatesResultCount](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresultcount.md)
- [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md)
