mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

- No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use StartSeh() / EndSeh() macros; this is done automagically. - Use explicitely unicode macros where it's needed. svn path=/trunk/; revision=60319
25 lines
496 B
C
25 lines
496 B
C
/*
|
|
* PROJECT: ReactOS api tests
|
|
* LICENSE: GPLv2+ - See COPYING in the top level directory
|
|
* PURPOSE: Test for RtlGetLongestNtPathLength
|
|
* PROGRAMMER: Thomas Faber <thfabba@gmx.de>
|
|
*/
|
|
|
|
#include <apitest.h>
|
|
|
|
#define WIN32_NO_STATUS
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
/*
|
|
ULONG
|
|
NTAPI
|
|
RtlGetLongestNtPathLength(VOID);
|
|
*/
|
|
|
|
START_TEST(RtlGetLongestNtPathLength)
|
|
{
|
|
ULONG Length;
|
|
|
|
Length = RtlGetLongestNtPathLength();
|
|
ok(Length == 269, "Length = %lu\n", Length);
|
|
}
|