ReactOS  0.4.14-dev-293-g2b39b42
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 }
GLint x0
Definition: linetemp.h:95
LONG lfHeight
Definition: dimm.idl:59
unsigned int BOOL
Definition: ntddk_ex.h:94
LONG lfWidth
Definition: dimm.idl:60
smooth NULL
Definition: ftsmooth.c:416
__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)
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned long DWORD
Definition: ntddk_ex.h:95
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
static const WCHAR L[]
Definition: oid.c:1250
#define ok(value,...)
Definition: atltest.h:57
WCHAR lfFaceName[LF_FACESIZE]
Definition: dimm.idl:72
#define memset(x, y, z)
Definition: compat.h:39
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)
#define printf
Definition: config.h:203