reactos/rostests/apitests/ntdll/RtlGetLongestNtPathLength.c
Hermès Bélusca-Maïto fe6644f895 [APITESTS]
- 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
2013-09-22 19:07:35 +00:00

26 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);
}