mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[hal,ntcore,cscore] Update Handle constants to all caps
This commit is contained in:
@@ -13,18 +13,18 @@
|
||||
namespace wpi::util {
|
||||
|
||||
/** Constant representing an invalid handle. */
|
||||
constexpr unsigned int kInvalidHandle = 0;
|
||||
constexpr unsigned int INVALID_HANDLE = 0;
|
||||
|
||||
/**
|
||||
* Standard types for handles.
|
||||
* @{
|
||||
*/
|
||||
constexpr int kHandleTypeEvent = 1;
|
||||
constexpr int kHandleTypeSemaphore = 2;
|
||||
constexpr int kHandleTypeCSBase = 3;
|
||||
constexpr int kHandleTypeNTBase = 16;
|
||||
constexpr int kHandleTypeHALBase = 48;
|
||||
constexpr int kHandleTypeUserBase = 80;
|
||||
constexpr int HANDLE_TYPE_EVENT = 1;
|
||||
constexpr int HANDLE_TYPE_SEMAPHORE = 2;
|
||||
constexpr int HANDLE_TYPE_CS_BASE = 3;
|
||||
constexpr int HANDLE_TYPE_NT_BASE = 16;
|
||||
constexpr int HANDLE_TYPE_HAL_BASE = 48;
|
||||
constexpr int HANDLE_TYPE_USER_BASE = 80;
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user