Commit 8345d21b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Don't use designated initializers for lazy_load_driver.

parent 8e3fef26
...@@ -1171,56 +1171,60 @@ static const struct vulkan_funcs * CDECL loaderdrv_wine_get_vulkan_driver( UINT ...@@ -1171,56 +1171,60 @@ static const struct vulkan_funcs * CDECL loaderdrv_wine_get_vulkan_driver( UINT
static const struct user_driver_funcs lazy_load_driver = static const struct user_driver_funcs lazy_load_driver =
{ {
{ NULL },
/* keyboard functions */ /* keyboard functions */
.pActivateKeyboardLayout = loaderdrv_ActivateKeyboardLayout, loaderdrv_ActivateKeyboardLayout,
.pBeep = loaderdrv_Beep, loaderdrv_Beep,
.pGetKeyNameText = loaderdrv_GetKeyNameText, loaderdrv_GetKeyNameText,
.pGetKeyboardLayoutList = loaderdrv_GetKeyboardLayoutList, loaderdrv_GetKeyboardLayoutList,
.pMapVirtualKeyEx = loaderdrv_MapVirtualKeyEx, loaderdrv_MapVirtualKeyEx,
.pToUnicodeEx = loaderdrv_ToUnicodeEx, loaderdrv_RegisterHotKey,
.pRegisterHotKey = loaderdrv_RegisterHotKey, loaderdrv_ToUnicodeEx,
.pUnregisterHotKey = loaderdrv_UnregisterHotKey, loaderdrv_UnregisterHotKey,
.pVkKeyScanEx = loaderdrv_VkKeyScanEx, loaderdrv_VkKeyScanEx,
/* cursor/icon functions */ /* cursor/icon functions */
.pDestroyCursorIcon = nulldrv_DestroyCursorIcon, nulldrv_DestroyCursorIcon,
.pSetCursor = loaderdrv_SetCursor, loaderdrv_SetCursor,
.pGetCursorPos = loaderdrv_GetCursorPos, loaderdrv_GetCursorPos,
.pSetCursorPos = loaderdrv_SetCursorPos, loaderdrv_SetCursorPos,
.pClipCursor = loaderdrv_ClipCursor, loaderdrv_ClipCursor,
/* clipboard functions */ /* clipboard functions */
.pUpdateClipboard = loaderdrv_UpdateClipboard, loaderdrv_UpdateClipboard,
/* display modes */ /* display modes */
.pChangeDisplaySettingsEx = loaderdrv_ChangeDisplaySettingsEx, loaderdrv_ChangeDisplaySettingsEx,
.pEnumDisplaySettingsEx = loaderdrv_EnumDisplaySettingsEx, loaderdrv_EnumDisplaySettingsEx,
.pUpdateDisplayDevices = loaderdrv_UpdateDisplayDevices, loaderdrv_UpdateDisplayDevices,
/* windowing functions */ /* windowing functions */
.pCreateDesktopWindow = loaderdrv_CreateDesktopWindow, loaderdrv_CreateDesktopWindow,
.pCreateWindow = loaderdrv_CreateWindow, loaderdrv_CreateWindow,
.pDestroyWindow = nulldrv_DestroyWindow, nulldrv_DestroyWindow,
.pFlashWindowEx = loaderdrv_FlashWindowEx, loaderdrv_FlashWindowEx,
.pGetDC = loaderdrv_GetDC, loaderdrv_GetDC,
.pSetCapture = nulldrv_SetCapture, nulldrv_MsgWaitForMultipleObjectsEx,
.pSetLayeredWindowAttributes = loaderdrv_SetLayeredWindowAttributes, nulldrv_ReleaseDC,
.pSetParent = nulldrv_SetParent, nulldrv_ScrollDC,
.pSetWindowRgn = loaderdrv_SetWindowRgn, nulldrv_SetCapture,
.pSetWindowStyle = nulldrv_SetWindowStyle, nulldrv_SetFocus,
.pMsgWaitForMultipleObjectsEx = nulldrv_MsgWaitForMultipleObjectsEx, loaderdrv_SetLayeredWindowAttributes,
.pReleaseDC = nulldrv_ReleaseDC, nulldrv_SetParent,
.pScrollDC = nulldrv_ScrollDC, loaderdrv_SetWindowRgn,
.pSetFocus = nulldrv_SetFocus, nulldrv_SetWindowIcon,
.pShowWindow = nulldrv_ShowWindow, nulldrv_SetWindowStyle,
.pUpdateLayeredWindow = loaderdrv_UpdateLayeredWindow, nulldrv_SetWindowText,
.pWindowMessage = nulldrv_WindowMessage, nulldrv_ShowWindow,
.pWindowPosChanging = nulldrv_WindowPosChanging, nulldrv_SysCommand,
.pWindowPosChanged = nulldrv_WindowPosChanged, loaderdrv_UpdateLayeredWindow,
nulldrv_WindowMessage,
nulldrv_WindowPosChanging,
nulldrv_WindowPosChanged,
/* system parameters */ /* system parameters */
.pSystemParametersInfo = nulldrv_SystemParametersInfo, nulldrv_SystemParametersInfo,
/* vulkan support */ /* vulkan support */
.pwine_get_vulkan_driver = loaderdrv_wine_get_vulkan_driver, loaderdrv_wine_get_vulkan_driver,
/* opengl support */ /* opengl support */
.pwine_get_wgl_driver = nulldrv_wine_get_wgl_driver, nulldrv_wine_get_wgl_driver,
/* thread management */ /* thread management */
.pThreadDetach = nulldrv_ThreadDetach, nulldrv_ThreadDetach,
}; };
const struct user_driver_funcs *user_driver = &lazy_load_driver; const struct user_driver_funcs *user_driver = &lazy_load_driver;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment