ReactOS 0.4.15-dev-7842-g558ab78
NtGdiGetFontResourceInfoInternalW.c File Reference
#include "../win32nt.h"
Include dependency graph for NtGdiGetFontResourceInfoInternalW.c:

Go to the source code of this file.

Functions

 START_TEST (NtGdiGetFontResourceInfoInternalW)
 

Function Documentation

◆ START_TEST()

Definition at line 10 of file NtGdiGetFontResourceInfoInternalW.c.

11{
12 BOOL bRet;
13 DWORD dwBufSize;
14 LOGFONTW logfont;
15 UNICODE_STRING NtFileName;
16
18 &NtFileName,
19 NULL,
20 NULL));
21
22 dwBufSize = sizeof(logfont);
23 memset(&logfont, 0x0, dwBufSize);
24
26 NtFileName.Buffer,
27 (NtFileName.Length / sizeof(WCHAR)) +1,
28 1,
29 dwBufSize,
30 &dwBufSize,
31 &logfont,
32 2);
33
34 ok(bRet != FALSE, "bRet was FALSE.\n");
35
36 printf("lfHeight = %ld\n", logfont.lfHeight);
37 printf("lfWidth = %ld\n", logfont.lfWidth);
38 printf("lfFaceName = %ls\n", logfont.lfFaceName);
39
40// RemoveFontResourceW(szFullFileName);
41
42}
#define ok(value,...)
Definition: atltest.h:57
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define printf
Definition: freeldr.h:93
#define ASSERT(a)
Definition: mode.c:44
NTSYSAPI BOOLEAN NTAPI RtlDosPathNameToNtPathName_U(_In_opt_z_ PCWSTR DosPathName, _Out_ PUNICODE_STRING NtPathName, _Out_opt_ PCWSTR *NtFileNamePart, _Out_opt_ PRTL_RELATIVE_NAME_U DirectoryInfo)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiGetFontResourceInfoInternalW(_In_reads_z_(cwc) LPWSTR pwszFiles, _In_ ULONG cwc, _In_ ULONG cFiles, _In_ UINT cjBuf, _Out_ LPDWORD pdwBytes, _Out_writes_bytes_(cjBuf) LPVOID pvBuf, _In_ DWORD iType)
#define L(x)
Definition: ntvdm.h:50
#define memset(x, y, z)
Definition: compat.h:39
LONG lfHeight
Definition: dimm.idl:59
WCHAR lfFaceName[LF_FACESIZE]
Definition: dimm.idl:72
LONG lfWidth
Definition: dimm.idl:60
__wchar_t WCHAR
Definition: xmlstorage.h:180