https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b6654c0fb5b5077160e44…
commit b6654c0fb5b5077160e445ea95bbb9ce99003d49
Author: Bișoc George <fraizeraust99(a)gmail.com>
AuthorDate: Sat Sep 21 18:51:28 2019 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Sep 21 18:51:28 2019 +0200
[PSDK] Add missing declaration of WTSGetActiveConsoleSessionId() (#1920)
This allows this function to be used.
---
sdk/include/psdk/winbase.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sdk/include/psdk/winbase.h b/sdk/include/psdk/winbase.h
index 5f2c867ac2a..a1adf48268c 100644
--- a/sdk/include/psdk/winbase.h
+++ b/sdk/include/psdk/winbase.h
@@ -3283,8 +3283,11 @@ BOOL WINAPI WriteProfileSectionW(_In_ LPCWSTR, _In_ LPCWSTR);
BOOL WINAPI WriteProfileStringA(_In_opt_ LPCSTR, _In_opt_ LPCSTR, _In_opt_ LPCSTR);
BOOL WINAPI WriteProfileStringW(_In_opt_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR);
DWORD WINAPI WriteTapemark(_In_ HANDLE, _In_ DWORD, _In_ DWORD, _In_ BOOL);
+
#define Yield()
+
#if (_WIN32_WINNT >= 0x0501)
+DWORD WINAPI WTSGetActiveConsoleSessionId(VOID);
BOOL WINAPI ZombifyActCtx(_Inout_ HANDLE);
#endif