AddQuery

nn::boss::TaskQuery::AddQuery Member Function

Syntax

nn::Result AddQuery(
     const char * pName,
     s32 value,
     bool hex = false
);

Parameters

Name Description
in pName Specifies the parameter name. (Do not specify more than 14 characters.)
in value Specifies the parameter value.
in hex If this flag is true, the parameter value is assigned to the HTTP query in hexadecimal notation. (Ex: name=ffffffff)

Return Values

Returns the function's execution result. Returns one of the Result values listed below.

Value Description
Result::IsSuccess Set successfully.
ResultInvalidPointer The pointer to the parameter name is NULL.
ResultInvalidSize The size of the parameter name is invalid.
ResultInvalidMaxHttpQuery The HTTP query registration count exceeds the maximum.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Adds an HTTP query.


CONFIDENTIAL