Skip to content

Commit

Permalink
xboxkrnl: Implement NtCurrentThread()
Browse files Browse the repository at this point in the history
  • Loading branch information
thrimbor committed May 5, 2024
1 parent 20b266f commit ac39953
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/xboxkrnl/xboxdef.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: CC0-1.0

// SPDX-FileCopyrightText: 2019-2022 Stefan Schmidt
// SPDX-FileCopyrightText: 2019-2024 Stefan Schmidt
// SPDX-FileCopyrightText: 2019-2020 Jannik Vogel
// SPDX-FileCopyrightText: 2019 Matt Borgerson
// SPDX-FileCopyrightText: 2022 RadWolfie
Expand All @@ -12,6 +12,8 @@ typedef const void *LPCVOID;
typedef void VOID, *PVOID, *LPVOID;
typedef PVOID HANDLE, *PHANDLE;

#define NtCurrentThread() ((HANDLE)-2)

typedef unsigned char BOOLEAN, *PBOOLEAN;

typedef signed char SCHAR, *PSCHAR;
Expand Down

0 comments on commit ac39953

Please sign in to comment.