#include "precomp.h"
#include <ndk/kbd.h>
#include <strsafe.h>
Go to the source code of this file.
◆ PFN_KBDLAYERDESCRIPTOR
typedef PVOID(* PFN_KBDLAYERDESCRIPTOR) (VOID) |
◆ START_TEST()
Definition at line 110 of file KbdLayout.c.
111{
113}
static void testKeyboardLayouts(void)
◆ testKeyboardLayouts()
static void testKeyboardLayouts |
( |
void |
| ) |
|
|
static |
Definition at line 72 of file KbdLayout.c.
73{
81
83 if (!dwRet)
84 {
86 return;
87 }
88
91
95 {
97 continue;
98
102
104 }
105
108}
static void testLayout(_In_ LPWSTR szFileName, _In_ LPWSTR szFilePath)
#define INVALID_HANDLE_VALUE
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
BOOL WINAPI FindNextFileW(IN HANDLE hFindFile, OUT LPWIN32_FIND_DATAW lpFindFileData)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
#define FILE_ATTRIBUTE_DIRECTORY
static WCHAR szFilePath[]
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
DWORD WINAPI GetLastError(void)
Referenced by START_TEST().
◆ testLayout()
Definition at line 14 of file KbdLayout.c.
17{
22
23 trace(
"Testing '%ls'...\n", szFileName);
24
27 {
29 return;
30 }
31
33 if (!pfnKbdLayerDescriptor)
34 {
35 ok(
FALSE,
"KbdLayerDescriptor not found!\n");
37 }
38
39 pKbdTbl = pfnKbdLayerDescriptor();
40 if (!pKbdTbl)
41 {
42 ok(
FALSE,
"PKBDTABLES is NULL!\n");
44 }
45
47 {
48 ok(
FALSE,
"pusVSCtoVK table is NULL!\n");
50 }
51
52 if (
wcscmp(szFileName,
L"kbdnec.dll") == 0)
53 uTableSize = 128;
54 else
55 uTableSize = 127;
56
57
59
61 {
62
65 }
66
70}
PVOID(* PFN_KBDLAYERDESCRIPTOR)(VOID)
#define GetProcAddress(x, y)
static const WCHAR Cleanup[]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
Referenced by testKeyboardLayouts().