• Home
  • Raw
  • Download

Lines Matching refs:win32

67     _glfw.win32.winmm.instance = LoadLibraryA("winmm.dll");  in loadLibraries()
68 if (!_glfw.win32.winmm.instance) in loadLibraries()
74 _glfw.win32.winmm.timeGetTime = (TIMEGETTIME_T) in loadLibraries()
75 GetProcAddress(_glfw.win32.winmm.instance, "timeGetTime"); in loadLibraries()
77 _glfw.win32.user32.instance = LoadLibraryA("user32.dll"); in loadLibraries()
78 if (!_glfw.win32.user32.instance) in loadLibraries()
84 _glfw.win32.user32.SetProcessDPIAware = (SETPROCESSDPIAWARE_T) in loadLibraries()
85 GetProcAddress(_glfw.win32.user32.instance, "SetProcessDPIAware"); in loadLibraries()
86 _glfw.win32.user32.ChangeWindowMessageFilterEx = (CHANGEWINDOWMESSAGEFILTEREX_T) in loadLibraries()
87 GetProcAddress(_glfw.win32.user32.instance, "ChangeWindowMessageFilterEx"); in loadLibraries()
89 _glfw.win32.dinput8.instance = LoadLibraryA("dinput8.dll"); in loadLibraries()
90 if (_glfw.win32.dinput8.instance) in loadLibraries()
92 _glfw.win32.dinput8.DirectInput8Create = (DIRECTINPUT8CREATE_T) in loadLibraries()
93 GetProcAddress(_glfw.win32.dinput8.instance, "DirectInput8Create"); in loadLibraries()
110 _glfw.win32.xinput.instance = LoadLibraryA(names[i]); in loadLibraries()
111 if (_glfw.win32.xinput.instance) in loadLibraries()
113 _glfw.win32.xinput.XInputGetCapabilities = (XINPUTGETCAPABILITIES_T) in loadLibraries()
114 GetProcAddress(_glfw.win32.xinput.instance, "XInputGetCapabilities"); in loadLibraries()
115 _glfw.win32.xinput.XInputGetState = (XINPUTGETSTATE_T) in loadLibraries()
116 GetProcAddress(_glfw.win32.xinput.instance, "XInputGetState"); in loadLibraries()
123 _glfw.win32.dwmapi.instance = LoadLibraryA("dwmapi.dll"); in loadLibraries()
124 if (_glfw.win32.dwmapi.instance) in loadLibraries()
126 _glfw.win32.dwmapi.DwmIsCompositionEnabled = (DWMISCOMPOSITIONENABLED_T) in loadLibraries()
127 GetProcAddress(_glfw.win32.dwmapi.instance, "DwmIsCompositionEnabled"); in loadLibraries()
128 _glfw.win32.dwmapi.DwmFlush = (DWMFLUSH_T) in loadLibraries()
129 GetProcAddress(_glfw.win32.dwmapi.instance, "DwmFlush"); in loadLibraries()
132 _glfw.win32.shcore.instance = LoadLibraryA("shcore.dll"); in loadLibraries()
133 if (_glfw.win32.shcore.instance) in loadLibraries()
135 _glfw.win32.shcore.SetProcessDpiAwareness = (SETPROCESSDPIAWARENESS_T) in loadLibraries()
136 GetProcAddress(_glfw.win32.shcore.instance, "SetProcessDpiAwareness"); in loadLibraries()
146 if (_glfw.win32.xinput.instance) in freeLibraries()
147 FreeLibrary(_glfw.win32.xinput.instance); in freeLibraries()
149 if (_glfw.win32.dinput8.instance) in freeLibraries()
150 FreeLibrary(_glfw.win32.dinput8.instance); in freeLibraries()
152 if (_glfw.win32.winmm.instance) in freeLibraries()
153 FreeLibrary(_glfw.win32.winmm.instance); in freeLibraries()
155 if (_glfw.win32.user32.instance) in freeLibraries()
156 FreeLibrary(_glfw.win32.user32.instance); in freeLibraries()
158 if (_glfw.win32.dwmapi.instance) in freeLibraries()
159 FreeLibrary(_glfw.win32.dwmapi.instance); in freeLibraries()
161 if (_glfw.win32.shcore.instance) in freeLibraries()
162 FreeLibrary(_glfw.win32.shcore.instance); in freeLibraries()
171 memset(_glfw.win32.publicKeys, -1, sizeof(_glfw.win32.publicKeys)); in createKeyTables()
172 memset(_glfw.win32.nativeKeys, -1, sizeof(_glfw.win32.nativeKeys)); in createKeyTables()
174 _glfw.win32.publicKeys[0x00B] = GLFW_KEY_0; in createKeyTables()
175 _glfw.win32.publicKeys[0x002] = GLFW_KEY_1; in createKeyTables()
176 _glfw.win32.publicKeys[0x003] = GLFW_KEY_2; in createKeyTables()
177 _glfw.win32.publicKeys[0x004] = GLFW_KEY_3; in createKeyTables()
178 _glfw.win32.publicKeys[0x005] = GLFW_KEY_4; in createKeyTables()
179 _glfw.win32.publicKeys[0x006] = GLFW_KEY_5; in createKeyTables()
180 _glfw.win32.publicKeys[0x007] = GLFW_KEY_6; in createKeyTables()
181 _glfw.win32.publicKeys[0x008] = GLFW_KEY_7; in createKeyTables()
182 _glfw.win32.publicKeys[0x009] = GLFW_KEY_8; in createKeyTables()
183 _glfw.win32.publicKeys[0x00A] = GLFW_KEY_9; in createKeyTables()
184 _glfw.win32.publicKeys[0x01E] = GLFW_KEY_A; in createKeyTables()
185 _glfw.win32.publicKeys[0x030] = GLFW_KEY_B; in createKeyTables()
186 _glfw.win32.publicKeys[0x02E] = GLFW_KEY_C; in createKeyTables()
187 _glfw.win32.publicKeys[0x020] = GLFW_KEY_D; in createKeyTables()
188 _glfw.win32.publicKeys[0x012] = GLFW_KEY_E; in createKeyTables()
189 _glfw.win32.publicKeys[0x021] = GLFW_KEY_F; in createKeyTables()
190 _glfw.win32.publicKeys[0x022] = GLFW_KEY_G; in createKeyTables()
191 _glfw.win32.publicKeys[0x023] = GLFW_KEY_H; in createKeyTables()
192 _glfw.win32.publicKeys[0x017] = GLFW_KEY_I; in createKeyTables()
193 _glfw.win32.publicKeys[0x024] = GLFW_KEY_J; in createKeyTables()
194 _glfw.win32.publicKeys[0x025] = GLFW_KEY_K; in createKeyTables()
195 _glfw.win32.publicKeys[0x026] = GLFW_KEY_L; in createKeyTables()
196 _glfw.win32.publicKeys[0x032] = GLFW_KEY_M; in createKeyTables()
197 _glfw.win32.publicKeys[0x031] = GLFW_KEY_N; in createKeyTables()
198 _glfw.win32.publicKeys[0x018] = GLFW_KEY_O; in createKeyTables()
199 _glfw.win32.publicKeys[0x019] = GLFW_KEY_P; in createKeyTables()
200 _glfw.win32.publicKeys[0x010] = GLFW_KEY_Q; in createKeyTables()
201 _glfw.win32.publicKeys[0x013] = GLFW_KEY_R; in createKeyTables()
202 _glfw.win32.publicKeys[0x01F] = GLFW_KEY_S; in createKeyTables()
203 _glfw.win32.publicKeys[0x014] = GLFW_KEY_T; in createKeyTables()
204 _glfw.win32.publicKeys[0x016] = GLFW_KEY_U; in createKeyTables()
205 _glfw.win32.publicKeys[0x02F] = GLFW_KEY_V; in createKeyTables()
206 _glfw.win32.publicKeys[0x011] = GLFW_KEY_W; in createKeyTables()
207 _glfw.win32.publicKeys[0x02D] = GLFW_KEY_X; in createKeyTables()
208 _glfw.win32.publicKeys[0x015] = GLFW_KEY_Y; in createKeyTables()
209 _glfw.win32.publicKeys[0x02C] = GLFW_KEY_Z; in createKeyTables()
211 _glfw.win32.publicKeys[0x028] = GLFW_KEY_APOSTROPHE; in createKeyTables()
212 _glfw.win32.publicKeys[0x02B] = GLFW_KEY_BACKSLASH; in createKeyTables()
213 _glfw.win32.publicKeys[0x033] = GLFW_KEY_COMMA; in createKeyTables()
214 _glfw.win32.publicKeys[0x00D] = GLFW_KEY_EQUAL; in createKeyTables()
215 _glfw.win32.publicKeys[0x029] = GLFW_KEY_GRAVE_ACCENT; in createKeyTables()
216 _glfw.win32.publicKeys[0x01A] = GLFW_KEY_LEFT_BRACKET; in createKeyTables()
217 _glfw.win32.publicKeys[0x00C] = GLFW_KEY_MINUS; in createKeyTables()
218 _glfw.win32.publicKeys[0x034] = GLFW_KEY_PERIOD; in createKeyTables()
219 _glfw.win32.publicKeys[0x01B] = GLFW_KEY_RIGHT_BRACKET; in createKeyTables()
220 _glfw.win32.publicKeys[0x027] = GLFW_KEY_SEMICOLON; in createKeyTables()
221 _glfw.win32.publicKeys[0x035] = GLFW_KEY_SLASH; in createKeyTables()
222 _glfw.win32.publicKeys[0x056] = GLFW_KEY_WORLD_2; in createKeyTables()
224 _glfw.win32.publicKeys[0x00E] = GLFW_KEY_BACKSPACE; in createKeyTables()
225 _glfw.win32.publicKeys[0x153] = GLFW_KEY_DELETE; in createKeyTables()
226 _glfw.win32.publicKeys[0x14F] = GLFW_KEY_END; in createKeyTables()
227 _glfw.win32.publicKeys[0x01C] = GLFW_KEY_ENTER; in createKeyTables()
228 _glfw.win32.publicKeys[0x001] = GLFW_KEY_ESCAPE; in createKeyTables()
229 _glfw.win32.publicKeys[0x147] = GLFW_KEY_HOME; in createKeyTables()
230 _glfw.win32.publicKeys[0x152] = GLFW_KEY_INSERT; in createKeyTables()
231 _glfw.win32.publicKeys[0x15D] = GLFW_KEY_MENU; in createKeyTables()
232 _glfw.win32.publicKeys[0x151] = GLFW_KEY_PAGE_DOWN; in createKeyTables()
233 _glfw.win32.publicKeys[0x149] = GLFW_KEY_PAGE_UP; in createKeyTables()
234 _glfw.win32.publicKeys[0x045] = GLFW_KEY_PAUSE; in createKeyTables()
235 _glfw.win32.publicKeys[0x146] = GLFW_KEY_PAUSE; in createKeyTables()
236 _glfw.win32.publicKeys[0x039] = GLFW_KEY_SPACE; in createKeyTables()
237 _glfw.win32.publicKeys[0x00F] = GLFW_KEY_TAB; in createKeyTables()
238 _glfw.win32.publicKeys[0x03A] = GLFW_KEY_CAPS_LOCK; in createKeyTables()
239 _glfw.win32.publicKeys[0x145] = GLFW_KEY_NUM_LOCK; in createKeyTables()
240 _glfw.win32.publicKeys[0x046] = GLFW_KEY_SCROLL_LOCK; in createKeyTables()
241 _glfw.win32.publicKeys[0x03B] = GLFW_KEY_F1; in createKeyTables()
242 _glfw.win32.publicKeys[0x03C] = GLFW_KEY_F2; in createKeyTables()
243 _glfw.win32.publicKeys[0x03D] = GLFW_KEY_F3; in createKeyTables()
244 _glfw.win32.publicKeys[0x03E] = GLFW_KEY_F4; in createKeyTables()
245 _glfw.win32.publicKeys[0x03F] = GLFW_KEY_F5; in createKeyTables()
246 _glfw.win32.publicKeys[0x040] = GLFW_KEY_F6; in createKeyTables()
247 _glfw.win32.publicKeys[0x041] = GLFW_KEY_F7; in createKeyTables()
248 _glfw.win32.publicKeys[0x042] = GLFW_KEY_F8; in createKeyTables()
249 _glfw.win32.publicKeys[0x043] = GLFW_KEY_F9; in createKeyTables()
250 _glfw.win32.publicKeys[0x044] = GLFW_KEY_F10; in createKeyTables()
251 _glfw.win32.publicKeys[0x057] = GLFW_KEY_F11; in createKeyTables()
252 _glfw.win32.publicKeys[0x058] = GLFW_KEY_F12; in createKeyTables()
253 _glfw.win32.publicKeys[0x064] = GLFW_KEY_F13; in createKeyTables()
254 _glfw.win32.publicKeys[0x065] = GLFW_KEY_F14; in createKeyTables()
255 _glfw.win32.publicKeys[0x066] = GLFW_KEY_F15; in createKeyTables()
256 _glfw.win32.publicKeys[0x067] = GLFW_KEY_F16; in createKeyTables()
257 _glfw.win32.publicKeys[0x068] = GLFW_KEY_F17; in createKeyTables()
258 _glfw.win32.publicKeys[0x069] = GLFW_KEY_F18; in createKeyTables()
259 _glfw.win32.publicKeys[0x06A] = GLFW_KEY_F19; in createKeyTables()
260 _glfw.win32.publicKeys[0x06B] = GLFW_KEY_F20; in createKeyTables()
261 _glfw.win32.publicKeys[0x06C] = GLFW_KEY_F21; in createKeyTables()
262 _glfw.win32.publicKeys[0x06D] = GLFW_KEY_F22; in createKeyTables()
263 _glfw.win32.publicKeys[0x06E] = GLFW_KEY_F23; in createKeyTables()
264 _glfw.win32.publicKeys[0x076] = GLFW_KEY_F24; in createKeyTables()
265 _glfw.win32.publicKeys[0x038] = GLFW_KEY_LEFT_ALT; in createKeyTables()
266 _glfw.win32.publicKeys[0x01D] = GLFW_KEY_LEFT_CONTROL; in createKeyTables()
267 _glfw.win32.publicKeys[0x02A] = GLFW_KEY_LEFT_SHIFT; in createKeyTables()
268 _glfw.win32.publicKeys[0x15B] = GLFW_KEY_LEFT_SUPER; in createKeyTables()
269 _glfw.win32.publicKeys[0x137] = GLFW_KEY_PRINT_SCREEN; in createKeyTables()
270 _glfw.win32.publicKeys[0x138] = GLFW_KEY_RIGHT_ALT; in createKeyTables()
271 _glfw.win32.publicKeys[0x11D] = GLFW_KEY_RIGHT_CONTROL; in createKeyTables()
272 _glfw.win32.publicKeys[0x036] = GLFW_KEY_RIGHT_SHIFT; in createKeyTables()
273 _glfw.win32.publicKeys[0x15C] = GLFW_KEY_RIGHT_SUPER; in createKeyTables()
274 _glfw.win32.publicKeys[0x150] = GLFW_KEY_DOWN; in createKeyTables()
275 _glfw.win32.publicKeys[0x14B] = GLFW_KEY_LEFT; in createKeyTables()
276 _glfw.win32.publicKeys[0x14D] = GLFW_KEY_RIGHT; in createKeyTables()
277 _glfw.win32.publicKeys[0x148] = GLFW_KEY_UP; in createKeyTables()
279 _glfw.win32.publicKeys[0x052] = GLFW_KEY_KP_0; in createKeyTables()
280 _glfw.win32.publicKeys[0x04F] = GLFW_KEY_KP_1; in createKeyTables()
281 _glfw.win32.publicKeys[0x050] = GLFW_KEY_KP_2; in createKeyTables()
282 _glfw.win32.publicKeys[0x051] = GLFW_KEY_KP_3; in createKeyTables()
283 _glfw.win32.publicKeys[0x04B] = GLFW_KEY_KP_4; in createKeyTables()
284 _glfw.win32.publicKeys[0x04C] = GLFW_KEY_KP_5; in createKeyTables()
285 _glfw.win32.publicKeys[0x04D] = GLFW_KEY_KP_6; in createKeyTables()
286 _glfw.win32.publicKeys[0x047] = GLFW_KEY_KP_7; in createKeyTables()
287 _glfw.win32.publicKeys[0x048] = GLFW_KEY_KP_8; in createKeyTables()
288 _glfw.win32.publicKeys[0x049] = GLFW_KEY_KP_9; in createKeyTables()
289 _glfw.win32.publicKeys[0x04E] = GLFW_KEY_KP_ADD; in createKeyTables()
290 _glfw.win32.publicKeys[0x053] = GLFW_KEY_KP_DECIMAL; in createKeyTables()
291 _glfw.win32.publicKeys[0x135] = GLFW_KEY_KP_DIVIDE; in createKeyTables()
292 _glfw.win32.publicKeys[0x11C] = GLFW_KEY_KP_ENTER; in createKeyTables()
293 _glfw.win32.publicKeys[0x037] = GLFW_KEY_KP_MULTIPLY; in createKeyTables()
294 _glfw.win32.publicKeys[0x04A] = GLFW_KEY_KP_SUBTRACT; in createKeyTables()
298 if (_glfw.win32.publicKeys[scancode] > 0) in createKeyTables()
299 _glfw.win32.nativeKeys[_glfw.win32.publicKeys[scancode]] = scancode; in createKeyTables()
405 &_glfw.win32.foregroundLockTimeout, 0); in _glfwPlatformInit()
422 _glfw.win32.helperWindowHandle = createHelperWindow(); in _glfwPlatformInit()
423 if (!_glfw.win32.helperWindowHandle) in _glfwPlatformInit()
436 if (_glfw.win32.helperWindowHandle) in _glfwPlatformTerminate()
437 DestroyWindow(_glfw.win32.helperWindowHandle); in _glfwPlatformTerminate()
443 UIntToPtr(_glfw.win32.foregroundLockTimeout), in _glfwPlatformTerminate()
446 free(_glfw.win32.clipboardString); in _glfwPlatformTerminate()