nn::dlp::CTR Namespace

Description

The CTR DLP (Download Play) namespace.
(This can also be written without the "::CTR" portion.)

Classes

nn::dlp::CTR::FakeClient Class for download play fake clients.
nn::dlp::CTR::Server Class for download play servers.

Structures

nn::dlp::CTR::ClientDiscoveredServer Event information when the EventDesc type is EVENT_TYPE_CLIENT_DISCOVERED_SERVER.
nn::dlp::CTR::ClientDiscoveredTitle Event information when the EventDesc type is EVENT_TYPE_CLIENT_DISCOVERED_TITLE.
nn::dlp::CTR::ClientStateWaitingInvite Event information when the EventDesc type is EVENT_TYPE_CLIENT_STATE_WAITING_INVITE.
nn::dlp::CTR::EventDesc Notification of an event occurring in DLP. The information changes depending on the type member.
nn::dlp::CTR::ClientStatus Client state and download progress.
nn::dlp::CTR::IconInfo Icon information.
nn::dlp::CTR::TitleInfo Title information.
nn::dlp::CTR::ServerInfo Server information.
nn::dlp::CTR::RebootInfo A structure that stores information used to reconnect to a parent device after a reboot.

Enumerated Types

Download Session Types
ClientState Client states.
ServerState Server states.
EventType Types of notification events.

typedef Definitions

Download Session Types
NodeInfo Node information.

Constants

Size and Number Constants
SHORT_TITLE_NAME_LENGTH One-line title name string length.
LONG_TITLE_NAME_LENGTH Two-line title name string length.
ICON_HEIGHT_PIXEL Icon height in pixels.
ICON_WIDTH_PIXEL Icon width in pixels.
ICON_PIXEL_COUNT The number of pixels in the icon.
RATING_INFO_SIZE Parental control information size.
NETWORK_BLOCK_BUFFER_SIZE Size of a communication block.
MAX_NODE_NUM Maximum number of nodes that can exist in a network, including servers.
MAX_CLIENT_NUM Maximum number of clients that can connect to a server.
MAX_SCAN_NUM The maximum number of titles that a client can scan at once.

Functions

Definitions of Common Functions Used Throughout DLP
GetRebootInfo Gets the information needed to connect to the network after rebooting.
Other
ResultArgumentOutOfRange Returns an error that means that an argument of the called function was out of range.
ResultFailedToInitialize Returns an error that means that initialization failed.
ResultUnderLaidCommFailed Returns an error that means that a process related to low-level communications failed.
ResultOutOfMemory Returns an error that means that there is insufficient memory for function execution.
ResultAlreadyInitialized Returns an error that means that the object was already initialized when the initialization function was called.
ResultInvalidState Returns an error that means that the state is invalid for executing the called function.
ResultNoData Returns an error that means that the specified data is missing.
ResultFailedToAccessCia Returns an error indicating that CIA file access failed.
ResultFailedToImportCia Returns an error indicating failure of the CIA file import.
ResultInvalidMediaType Returns an error indicating that an unsupported media type was used.
ResultCiaSizeTooLarge Returns an error on the server indicating that the CIA file for a child program is too large.
ResultInvalidRegion Returns an error on the server indicating that the server and child regions are the same.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL