nn::boss::TaskQuery::AddQuery Member Functionnn::Result AddQuery( const char * pName, u32 value, bool hex = false );
| 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) |
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). |
Adds an HTTP query.
CONFIDENTIAL