19 #ifndef DETOURSTATUS_H
20 #define DETOURSTATUS_H
62 return (status & detail) != 0;
static const unsigned int DT_OUT_OF_NODES
Definition: DetourStatus.h:36
static const unsigned int DT_ALREADY_OCCUPIED
Definition: DetourStatus.h:38
bool dtStatusDetail(dtStatus status, unsigned int detail)
Definition: DetourStatus.h:60
static const unsigned int DT_OUT_OF_MEMORY
Definition: DetourStatus.h:33
unsigned int dtStatus
Definition: DetourStatus.h:22
static const unsigned int DT_WRONG_VERSION
Definition: DetourStatus.h:32
static const unsigned int DT_PARTIAL_RESULT
Definition: DetourStatus.h:37
static const unsigned int DT_INVALID_PARAM
Definition: DetourStatus.h:34
static const unsigned int DT_BUFFER_TOO_SMALL
Definition: DetourStatus.h:35
static const unsigned int DT_STATUS_DETAIL_MASK
Definition: DetourStatus.h:30
bool dtStatusInProgress(dtStatus status)
Definition: DetourStatus.h:54
bool dtStatusSucceed(dtStatus status)
Definition: DetourStatus.h:42
static const unsigned int DT_IN_PROGRESS
Definition: DetourStatus.h:27
bool dtStatusFailed(dtStatus status)
Definition: DetourStatus.h:48
static const unsigned int DT_SUCCESS
Definition: DetourStatus.h:26
static const unsigned int DT_WRONG_MAGIC
Definition: DetourStatus.h:31
static const unsigned int DT_FAILURE
Definition: DetourStatus.h:25