Stubbing input a little better.
This commit is contained in:
@@ -50,6 +50,15 @@ typedef uint32_t X_STATUS;
|
||||
#define X_STATUS_INVALID_PARAMETER_2 ((uint32_t)0xC00000F0L)
|
||||
#define X_STATUS_INVALID_PARAMETER_3 ((uint32_t)0xC00000F1L)
|
||||
|
||||
// HRESULT (ERROR_*)
|
||||
// Adding as needed.
|
||||
typedef uint32_t X_RESULT;
|
||||
#define X_ERROR_SUCCESS ((uint32_t)0x00000000L)
|
||||
#define X_ERROR_ACCESS_DENIED ((uint32_t)0x80070005L)
|
||||
#define X_ERROR_BUSY ((uint32_t)0x800700AAL)
|
||||
#define X_ERROR_DEVICE_NOT_CONNECTED ((uint32_t)0x8007048FL)
|
||||
#define X_ERROR_CANCELLED ((uint32_t)0x800704C7L)
|
||||
|
||||
// MEM_*, used by NtAllocateVirtualMemory
|
||||
#define X_MEM_COMMIT 0x00001000
|
||||
#define X_MEM_RESERVE 0x00002000
|
||||
|
||||
Reference in New Issue
Block a user