2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for NtGdiGetFontResourceInfoInternalW
8 #include "../win32nt.h"
10 START_TEST(NtGdiGetFontResourceInfoInternalW
)
15 UNICODE_STRING NtFileName
;
17 ASSERT(RtlDosPathNameToNtPathName_U(L
".\\test.otf",
22 dwBufSize
= sizeof(logfont
);
23 memset(&logfont
, 0x0, dwBufSize
);
25 bRet
= NtGdiGetFontResourceInfoInternalW(
27 (NtFileName
.Length
/ sizeof(WCHAR
)) +1,
34 ok(bRet
!= FALSE
, "bRet was FALSE.\n");
36 printf("lfHeight = %ld\n", logfont
.lfHeight
);
37 printf("lfWidth = %ld\n", logfont
.lfWidth
);
38 printf("lfFaceName = %ls\n", logfont
.lfFaceName
);
40 // RemoveFontResourceW(szFullFileName);