19 #ifndef DETOURSTATUS_H
20 #define DETOURSTATUS_H
61 return (status & detail) != 0;
64 #endif // DETOURSTATUS_H
static const unsigned int DT_WRONG_VERSION
Definition: DetourStatus.h:32
static const unsigned int DT_STATUS_DETAIL_MASK
Definition: DetourStatus.h:30
static const unsigned int DT_SUCCESS
Definition: DetourStatus.h:26
static const unsigned int DT_BUFFER_TOO_SMALL
Definition: DetourStatus.h:35
unsigned int dtStatus
Definition: DetourStatus.h:22
static const unsigned int DT_WRONG_MAGIC
Definition: DetourStatus.h:31
static const unsigned int DT_OUT_OF_NODES
Definition: DetourStatus.h:36
static const unsigned int DT_PARTIAL_RESULT
Definition: DetourStatus.h:37
bool dtStatusSucceed(dtStatus status)
Definition: DetourStatus.h:41
bool dtStatusFailed(dtStatus status)
Definition: DetourStatus.h:47
static const unsigned int DT_INVALID_PARAM
Definition: DetourStatus.h:34
bool dtStatusInProgress(dtStatus status)
Definition: DetourStatus.h:53
static const unsigned int DT_IN_PROGRESS
Definition: DetourStatus.h:27
bool dtStatusDetail(dtStatus status, unsigned int detail)
Definition: DetourStatus.h:59
static const unsigned int DT_OUT_OF_MEMORY
Definition: DetourStatus.h:33
static const unsigned int DT_FAILURE
Definition: DetourStatus.h:25