From 9f618eeb14cd008dfe79f6a50564ed956a6f1419 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Thu, 9 Jul 2026 13:17:32 +0200 Subject: [PATCH] Define access denied and object type mismatch error codes --- sdk/xtdk/xtstatus.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/xtdk/xtstatus.h b/sdk/xtdk/xtstatus.h index 123380d..3aba82c 100644 --- a/sdk/xtdk/xtstatus.h +++ b/sdk/xtdk/xtstatus.h @@ -73,7 +73,9 @@ #define STATUS_INVALID_PARAMETER ((XTSTATUS) 0xC000000DL) #define STATUS_END_OF_FILE ((XTSTATUS) 0xC0000011L) #define STATUS_NO_MEMORY ((XTSTATUS) 0xC0000017L) +#define STATUS_ACCESS_DENIED ((XTSTATUS) 0xC0000022L) #define STATUS_BUFFER_TOO_SMALL ((XTSTATUS) 0xC0000023L) +#define STATUS_OBJECT_TYPE_MISMATCH ((XTSTATUS) 0xC0000024L) #define STATUS_OBJECT_NAME_INVALID ((XTSTATUS) 0xC0000033L) #define STATUS_OBJECT_NAME_COLLISION ((XTSTATUS) 0xC0000035L) #define STATUS_PORT_DISCONNECTED ((XTSTATUS) 0xC0000037L)