forked from xt-sys/exectos
Refactor system resources to be able to distinguish if requested resource does not exist or if it is locked and cannot be reused
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
/* XT status code definitions */
|
||||
#define STATUS_SUCCESS ((XTSTATUS) 0x00000000L)
|
||||
#define STATUS_END_OF_MEDIA ((XTSTATUS) 0x8000001EL)
|
||||
#define STATUS_RESOURCE_LOCKED ((XTSTATUS) 0xC0000000L)
|
||||
#define STATUS_UNSUCCESSFUL ((XTSTATUS) 0xC0000001L)
|
||||
#define STATUS_NOT_IMPLEMENTED ((XTSTATUS) 0xC0000002L)
|
||||
#define STATUS_ACCESS_VIOLATION ((XTSTATUS) 0xC0000005L)
|
||||
|
Reference in New Issue
Block a user