static nn::Result Initialize( nn::Handle eventHandle, u8 maxClientNum, nn::ProgramId programId, void * pBuffer, size_t bufferSize );
| Name | Description | |
|---|---|---|
| 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 | maxClientNum | Specifies the maximum number of clients (from 1 to MAX_CLIENT_NUM) that can connect to the server. |
| in | programId | Specifies the program ID of the title to distribute. |
| in | pBuffer | Pointer to the DLP working buffer. Must be 4096-byte aligned. |
| in | bufferSize | Size of working buffer. Must be 4096-byte aligned. |
Initializes the server.
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. The maximum size of titles that can be distributed is 16 MB.
CONFIDENTIAL