ntdll / kernel32 : #52 (take #2)
Alexandre Julliard
julliard at winehq.org
Mon Jan 10 12:49:27 CST 2005
Eric Pouech <pouech-eric at wanadoo.fr> writes:
> +/******************************************************************
> + * NtAddAtom (NTDLL.@)
> + */
> +NTSTATUS WINAPI NtAddAtom( const WCHAR* name, ULONG name_len, ATOM* atom )
> +{
> + return RtlAddAtomToAtomTable( get_global_table(), name, atom );
> +}
You can't do that, if the name is a counted string you cannot ignore
the length and assume it is null-terminated.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list