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

# Input

> IXtfRemoteRunCallback::Input Method

# IXtfRemoteRunCallback::Input Method

실행 중인 원격 실행 파일의 표준 입력을 통해 텍스트를 전달하기 위해 호출됩니다.

## Syntax

```cpp theme={null}
public:
HRESULT Input(
         LPBSTR pbstrText
)  
```

### Parameters

*pbstrText*\
Type: LPBSTR

원격 실행 파일의 표준 입력을 통해 보낼 텍스트입니다.

### Return value

Type: HRESULT

HRESULT 성공 또는 오류 코드.

## Remarks

**Input** 함수는 [IXtfRemoteRunCallback Interface](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)의 일부로 사용될 때 원격으로 실행되는 실행 파일에 입력을 전달할 수 있게 합니다. [IXtfRemoteRunCallback Interface](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)는 [IXtfRemoteRunClient::Run](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md) 함수의 매개 변수로 사용됩니다. **IXtfRemoteRunCallback::Input**은 사용자 정의입니다.

이 API가 반환한 LPBSTR 포인터를 처리하는 방법에 대한 자세한 내용은 [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:** xtfremoterun.h

**Library:** xtfremoterun.lib

**Supported platforms:** Windows(XBOX 콘솔 도구용)

## See also

[IXtfRemoteRunCallback Interface](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)\
[IXtfRemoteRunCallback::Output](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/methods/ixtfremoteruncallback_output.md)\
[IXtfRemoteRunClient::Run](https://docs.xbox.com/ko/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/methods/ixtfremoterunclient_run.md)


## Related topics

- [XInputOnGameInputInitialize](https://docs.xbox.com/ko/reference/input/xinputongameinput/functions/xinputongameinputinitialize.md)
- [XInputOnGameInputUninitialize](https://docs.xbox.com/ko/reference/input/xinputongameinput/functions/xinputongameinputuninitialize.md)
- [XInputEnable](https://docs.xbox.com/ko/reference/input/xinputongameinput/functions/xinputenable.md)
- [Input API reference](https://docs.xbox.com/ko/reference/input/gc-reference-input-toc.md)
- [XInputOnGameInput (API 콘텐츠)](https://docs.xbox.com/ko/reference/input/xinputongameinput/xinputongameinput_members.md)
