> ## 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.

# XtfPullRegisterApp

> XtfPullRegisterApp

# XtfPullRegisterApp

保留供內部使用。

## 語法

```cpp theme={null}
HRESULT XtfPullRegisterApp(
         LPCWSTR consoleAddress,
         LPCWSTR layoutPath,
         LPCWSTR mapFilePath,
         LPCWSTR tempPath,
         BSTR environmentBlock,
         PLogCallback logCallback,
         PProgressCallback progressCallback,
         PWSTR* packageFullName,
         UINT* aumidCount,
         PWSTR** aumids
)  
```

### 參數

*consoleAddress*\
類型：LPCWSTR

\[in] 保留供內部使用。

*layoutPath*\
類型：LPCWSTR

\[in] 保留供內部使用。

*mapFilePath*\
類型：LPCWSTR

\[in, optional] 保留供內部使用。

*tempPath*\
類型：LPCWSTR

\[in, optional] 保留供內部使用。

*environmentBlock*\
類型：BSTR

\[in, optional] 保留供內部使用。

*logCallback*\
類型：PLogCallback

\[in, optional] 保留供內部使用。

*progressCallback*\
類型：PProgressCallback

\[in, optional] 保留供內部使用。

*packageFullName*\
類型：PWSTR\*

\[out] 保留供內部使用。

*aumidCount*\
類型：UINT\*

\[out] 保留供內部使用。

*aumids*\
類型：PWSTR\*\*

\[out] 保留供內部使用。

### 傳回值

類型：HRESULT

保留供內部使用。

## 需求

**標頭：** pullapi.h

**程式庫：** XtfApi.lib

**支援的平台：** Windows (適用於 XBOX 主機工具)

## 另請參閱

[XTF 傳輸錯誤 (NDA 主題)](https://docs.xbox.com/zh-TW/tools/tools-console/commandlinetools/xtf-transport-errors.md)\
[其他 Xtf API](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/atoc-xtfapi.md)


## Related topics

- [其他 Xtf API (API 內容)](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/atoc-xtfapi.md)
- [XtfPullAuditionApp](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/functions/xtfpullauditionapp-xtfapi-xbox-windows-m.md)
- [XtfPullUnregisterApp](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/functions/xtfpullunregisterapp-xtfapi-xbox-windows-m.md)
- [XtfPullSupplyMock](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/functions/xtfpullsupplymock-xtfapi-xbox-windows-m.md)
- [XtfGetCountofAppUserModelIds](https://docs.xbox.com/zh-TW/reference/tools/xtf/xtfapi/functions/xtfgetcountofappusermodelids-xtfapi-xbox-windows-m.md)
