55 pCurrent = pCurrent->
pNext;
58 pNew->
pPrev = pCurrent;
59 pCurrent->
pNext = pNew;
75 for (pCurrent =
_LayoutList; pCurrent; pCurrent = pNext)
77 pNext = pCurrent->
pNext;
164 dwSize =
sizeof(szImeFile);
178 pszImeFile = szImeFile;
187 dwSize =
sizeof(szBuffer);
203 dwSize =
sizeof(szBuffer);
230 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 ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
GLenum GLuint GLenum GLsizei const GLchar * buf
_Check_return_ _CRTIMP int __cdecl _wtoi(_In_z_ const wchar_t *_Str)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
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
_Out_ PULONG _Out_ PULONG pIndex
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
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)