nn::dlp::CTR::FakeClient::Initialize Member Functionstatic nn::Result Initialize( u8 scanNum, nn::Handle eventHandle, void * pBuffer, const size_t bufferSize );
| Name | Description | |
|---|---|---|
| in | scanNum | Specifies the number of titles that can be received per a single scan request. The maximum value is MAX_SCAN_NUM. |
| in | eventHandle | Specifies a handle to the nn::os::Event object waiting for a signal from download play. Initialize the event in the application. Use the GetEventDesc function to get the event information. |
| in | pBuffer | Pointer to the DLP working buffer. Must be 4096-byte aligned. |
| in | bufferSize | Size of working buffer. Must be 4096-byte aligned. |
| Value | Description |
|---|---|
| ResultSuccess | Initialization successful. |
ResultInvalidPointer |
pBuffer is either NULL or not 4096-byte aligned. |
ResultOutOfRange |
Either scanNum or bufferSize is invalid. |
| ResultInvalidHandle | eventHandle is invalid. |
| ResultAlreadyOccupiedWirelessDevice | The wireless device is already occupied for another purpose. Exit the other wireless process. |
| ResultWirelessOff | Communications cannot occur in this state (sleep or the Wifi button is off). |
| ResultInternalError | An unrecoverable error was occurred internally. |
Initializes a fake client.
For the pBuffer argument, specify a 4096-byte aligned buffer of the size specified by the GetBufferSize function. Do not use device memory for the buffer.
CONFIDENTIAL