Use the new RtlExitUserThread function instead of exporting

Saulius Krasuckas saulius2 at ar.fi.lt
Thu Dec 22 19:52:01 CST 2005


With this change [*] header does not compile under MSVC 6:

--- include/winternl.h
+++ include/winternl.h
@@ -1985,6 +1985,7 @@ BOOL      WINAPI RtlEqualPrefixSid(PSID,
 BOOL      WINAPI RtlEqualSid(PSID,PSID);
 BOOLEAN   WINAPI RtlEqualString(const STRING*,const STRING*,BOOLEAN);
 BOOLEAN   WINAPI RtlEqualUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN);
+void      WINAPI RtlExitUserThread(ULONG) DECLSPEC_NORETURN;
 NTSTATUS  WINAPI RtlExpandEnvironmentStrings_U(PWSTR, const UNICODE_STRING*, UNICODE_STRING*, ULONG*);
 LONGLONG  WINAPI RtlExtendedMagicDivide(LONGLONG,LONGLONG,INT);
 LONGLONG  WINAPI RtlExtendedIntegerMultiply(LONGLONG,INT);

Moving DECLSPEC_NORETURN to before a WINAPI keyword helps.


[*] http://source.winehq.org/git/?p=wine.git;a=blobdiff;h=ee582be9bc8ae5797b762b3c340e0821faca1c0d;hp=090f8b5698699d13a2afb848aa37cb77c61a0705;hb=4de75b5a6f83d7714c5736477376eda399ef1d01;f=include/winternl.h



More information about the wine-devel mailing list