55 pCurrent = pCurrent->
pNext;
58 pNew->
pPrev = pCurrent;
59 pCurrent->
pNext = pNew;
75 for (pCurrent =
_LayoutList; pCurrent; pCurrent = pNext)
77 pNext = pCurrent->
pNext;
120 dwSize =
sizeof(szImeFile);
134 pszImeFile = szImeFile;
143 dwSize =
sizeof(szBuffer);
159 dwSize =
sizeof(szBuffer);
186 for (dwIndex = 0; ; ++dwIndex)
#define UlongToHandle(ul)
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegEnumKeyExW(_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_ LPWSTR lpName, _Inout_ LPDWORD lpcbName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPWSTR lpClass, _Inout_opt_ LPDWORD lpcbClass, _Out_opt_ PFILETIME lpftLastWriteTime)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
#define GetProcAddress(x, y)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define SPECIALIDFROMHKL(hKL)
#define IS_SPECIAL_HKL(hKL)
#define IS_IME_KLID(dwKLID)
static BOOL GetSystemLibraryPath(LPTSTR szPath, SIZE_T cchPath, LPCTSTR FileName)
VOID LayoutList_Create(VOID)
VOID LayoutList_Destroy(VOID)
LAYOUT_LIST_NODE * LayoutList_GetByHkl(HKL hkl)
static LAYOUT_LIST_NODE * _LayoutList
HRESULT FakeSHLoadRegUIStringW(HKEY hkey, LPCWSTR value, LPWSTR buf, DWORD size)
LAYOUT_LIST_NODE * LayoutList_GetFirst(VOID)
static LAYOUT_LIST_NODE * LayoutList_AppendNode(DWORD dwKLID, WORD wSpecialId, LPCWSTR pszFile, LPCWSTR pszName, LPCWSTR pszImeFile)
static BOOL LayoutList_ReadLayout(HKEY hLayoutKey, LPCWSTR szKLID, LPCWSTR szSystemDirectory)
HRESULT(WINAPI * FN_SHLoadRegUIStringW)(HKEY, LPCWSTR, LPWSTR, DWORD)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static WCHAR szFilePath[]
_Check_return_ _CRTIMP wchar_t *__cdecl _wcsdup(_In_z_ const wchar_t *_Str)
STRSAFEAPI StringCchPrintfW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszFormat,...)
struct _LAYOUT_LIST_NODE * pPrev
struct _LAYOUT_LIST_NODE * pNext
#define INVALID_FILE_ATTRIBUTES
static GLenum _GLUfuncptr fn
#define HKEY_LOCAL_MACHINE