#include <apitest.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <stdarg.h>
Go to the source code of this file.
◆ START_TEST()
Definition at line 15 of file splitpath.c.
16{
19 char fname[32];
22
24
32
34 _splitpath(
"c:\\dir1\\dir2\\file.ext", 0, 0, 0, 0);
36
37 if (Major >= 6)
38 {
46 }
47 else
48 {
49 win_skip(
"This test only succeed on NT6+\n");
50 }
51
53 if (Major >= 6)
54 {
57 }
58 else
59 {
62 }
65
71
77
79 if (Major >= 6)
80 {
83 }
84 else
85 {
88 }
91
97
103
109
115
116}
#define ok_int(expression, result)
static const WCHAR *const ext[]
_CRTIMP void __cdecl _splitpath(_In_z_ const char *_FullPath, _Pre_maybenull_ _Post_z_ char *_Drive, _Pre_maybenull_ _Post_z_ char *_Dir, _Pre_maybenull_ _Post_z_ char *_Filename, _Pre_maybenull_ _Post_z_ char *_Ext)
DWORD WINAPI GetVersion()
_CRTIMP int *__cdecl _errno(void)