[ros-dev] [ros-diffs] [tkreuzer] 62480: [PSDK] winternl.h: Fix RtlLookupAtomInAtomTable prototype (should be sent to wine? not sure)
Thomas Faber
thomas.faber at reactos.org
Thu Mar 20 13:24:30 UTC 2014
This is intentional, their RTL_ATOM_TABLE is already a pointer:
/* Wine doesn't implement atom table as NT does:
* - in NT, atom tables are user space tables, which ntdll directly accesses
* - on Wine, (even local) atom tables are wineserver objects, hence a HANDLE
*/
typedef struct atom_table *RTL_ATOM_TABLE, **PRTL_ATOM_TABLE;
So that would need to be changed consistently.
(also, winternl.h should be used by Wine code only, so shouldn't affect
us -- since we have NDK to use instead)
On 2014-03-11 23:48, tkreuzer at svn.reactos.org wrote:
> Author: tkreuzer
> Date: Tue Mar 11 22:48:04 2014
> New Revision: 62480
>
> URL: http://svn.reactos.org/svn/reactos?rev=62480&view=rev
> Log:
> [PSDK]
> winternl.h: Fix RtlLookupAtomInAtomTable prototype (should be sent to wine? not sure)
>
> Modified:
> trunk/reactos/include/psdk/winternl.h
>
> Modified: trunk/reactos/include/psdk/winternl.h
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winternl.h?rev=62480&r1=62479&r2=62480&view=diff
> ==============================================================================
> --- trunk/reactos/include/psdk/winternl.h [iso-8859-1] (original)
> +++ trunk/reactos/include/psdk/winternl.h [iso-8859-1] Tue Mar 11 22:48:04 2014
> @@ -632,7 +632,7 @@
> FileFsMaximumInformation
> } FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
>
> -typedef enum _KEY_INFORMATION_CLASS {
> +typedef enum _KEY_INFORMATION_CLASS {
> KeyBasicInformation = 0,
> KeyNodeInformation = 1,
> KeyFullInformation = 2,
> @@ -2244,7 +2244,7 @@
> DWORD WINAPI RtlLengthSid(PSID);
> NTSTATUS WINAPI RtlLocalTimeToSystemTime(const LARGE_INTEGER*,PLARGE_INTEGER);
> BOOLEAN WINAPI RtlLockHeap(HANDLE);
> -NTSTATUS WINAPI RtlLookupAtomInAtomTable(RTL_ATOM_TABLE,const WCHAR*,RTL_ATOM*);
> +NTSTATUS WINAPI RtlLookupAtomInAtomTable(RTL_ATOM_TABLE*,const WCHAR*,RTL_ATOM*);
>
> NTSTATUS WINAPI RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD);
> void WINAPI RtlMapGenericMask(PACCESS_MASK,const GENERIC_MAPPING*);
>
>
More information about the Ros-dev
mailing list