nw::gfx::Result Class

Syntax

class Result

Description

Class for returning the results of operations.

Member Constants

S MASK_FAIL_BIT Bits that represent either success or failure.
S MASK_DESCRIPTION Bits that represent the content of errors.

Member Functions

Result Constructor.
operator= Bit assignment.
operator|= Bitwise OR assignment.
operator&= Bitwise AND assignment.
GetCode Gets a value representing an error code.
IsFailure Returns true if the operation failed, or false if it succeeded.
IsSuccess Returns true if the operation succeeded, or false if it failed.
GetDescription Gets the error content.

See Also

ResourceResult
InitializeResult
BindResult


CONFIDENTIAL