win32u: Don't use designated initializers for lazy_load_driver.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8e3fef2627
commit
8345d21b3a
|
@ -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 =
|
||||
{
|
||||
{ NULL },
|
||||
/* keyboard functions */
|
||||
.pActivateKeyboardLayout = loaderdrv_ActivateKeyboardLayout,
|
||||
.pBeep = loaderdrv_Beep,
|
||||
.pGetKeyNameText = loaderdrv_GetKeyNameText,
|
||||
.pGetKeyboardLayoutList = loaderdrv_GetKeyboardLayoutList,
|
||||
.pMapVirtualKeyEx = loaderdrv_MapVirtualKeyEx,
|
||||
.pToUnicodeEx = loaderdrv_ToUnicodeEx,
|
||||
.pRegisterHotKey = loaderdrv_RegisterHotKey,
|
||||
.pUnregisterHotKey = loaderdrv_UnregisterHotKey,
|
||||
.pVkKeyScanEx = loaderdrv_VkKeyScanEx,
|
||||
loaderdrv_ActivateKeyboardLayout,
|
||||
loaderdrv_Beep,
|
||||
loaderdrv_GetKeyNameText,
|
||||
loaderdrv_GetKeyboardLayoutList,
|
||||
loaderdrv_MapVirtualKeyEx,
|
||||
loaderdrv_RegisterHotKey,
|
||||
loaderdrv_ToUnicodeEx,
|
||||
loaderdrv_UnregisterHotKey,
|
||||
loaderdrv_VkKeyScanEx,
|
||||
/* cursor/icon functions */
|
||||
.pDestroyCursorIcon = nulldrv_DestroyCursorIcon,
|
||||
.pSetCursor = loaderdrv_SetCursor,
|
||||
.pGetCursorPos = loaderdrv_GetCursorPos,
|
||||
.pSetCursorPos = loaderdrv_SetCursorPos,
|
||||
.pClipCursor = loaderdrv_ClipCursor,
|
||||
nulldrv_DestroyCursorIcon,
|
||||
loaderdrv_SetCursor,
|
||||
loaderdrv_GetCursorPos,
|
||||
loaderdrv_SetCursorPos,
|
||||
loaderdrv_ClipCursor,
|
||||
/* clipboard functions */
|
||||
.pUpdateClipboard = loaderdrv_UpdateClipboard,
|
||||
loaderdrv_UpdateClipboard,
|
||||
/* display modes */
|
||||
.pChangeDisplaySettingsEx = loaderdrv_ChangeDisplaySettingsEx,
|
||||
.pEnumDisplaySettingsEx = loaderdrv_EnumDisplaySettingsEx,
|
||||
.pUpdateDisplayDevices = loaderdrv_UpdateDisplayDevices,
|
||||
loaderdrv_ChangeDisplaySettingsEx,
|
||||
loaderdrv_EnumDisplaySettingsEx,
|
||||
loaderdrv_UpdateDisplayDevices,
|
||||
/* windowing functions */
|
||||
.pCreateDesktopWindow = loaderdrv_CreateDesktopWindow,
|
||||
.pCreateWindow = loaderdrv_CreateWindow,
|
||||
.pDestroyWindow = nulldrv_DestroyWindow,
|
||||
.pFlashWindowEx = loaderdrv_FlashWindowEx,
|
||||
.pGetDC = loaderdrv_GetDC,
|
||||
.pSetCapture = nulldrv_SetCapture,
|
||||
.pSetLayeredWindowAttributes = loaderdrv_SetLayeredWindowAttributes,
|
||||
.pSetParent = nulldrv_SetParent,
|
||||
.pSetWindowRgn = loaderdrv_SetWindowRgn,
|
||||
.pSetWindowStyle = nulldrv_SetWindowStyle,
|
||||
.pMsgWaitForMultipleObjectsEx = nulldrv_MsgWaitForMultipleObjectsEx,
|
||||
.pReleaseDC = nulldrv_ReleaseDC,
|
||||
.pScrollDC = nulldrv_ScrollDC,
|
||||
.pSetFocus = nulldrv_SetFocus,
|
||||
.pShowWindow = nulldrv_ShowWindow,
|
||||
.pUpdateLayeredWindow = loaderdrv_UpdateLayeredWindow,
|
||||
.pWindowMessage = nulldrv_WindowMessage,
|
||||
.pWindowPosChanging = nulldrv_WindowPosChanging,
|
||||
.pWindowPosChanged = nulldrv_WindowPosChanged,
|
||||
loaderdrv_CreateDesktopWindow,
|
||||
loaderdrv_CreateWindow,
|
||||
nulldrv_DestroyWindow,
|
||||
loaderdrv_FlashWindowEx,
|
||||
loaderdrv_GetDC,
|
||||
nulldrv_MsgWaitForMultipleObjectsEx,
|
||||
nulldrv_ReleaseDC,
|
||||
nulldrv_ScrollDC,
|
||||
nulldrv_SetCapture,
|
||||
nulldrv_SetFocus,
|
||||
loaderdrv_SetLayeredWindowAttributes,
|
||||
nulldrv_SetParent,
|
||||
loaderdrv_SetWindowRgn,
|
||||
nulldrv_SetWindowIcon,
|
||||
nulldrv_SetWindowStyle,
|
||||
nulldrv_SetWindowText,
|
||||
nulldrv_ShowWindow,
|
||||
nulldrv_SysCommand,
|
||||
loaderdrv_UpdateLayeredWindow,
|
||||
nulldrv_WindowMessage,
|
||||
nulldrv_WindowPosChanging,
|
||||
nulldrv_WindowPosChanged,
|
||||
/* system parameters */
|
||||
.pSystemParametersInfo = nulldrv_SystemParametersInfo,
|
||||
nulldrv_SystemParametersInfo,
|
||||
/* vulkan support */
|
||||
.pwine_get_vulkan_driver = loaderdrv_wine_get_vulkan_driver,
|
||||
loaderdrv_wine_get_vulkan_driver,
|
||||
/* opengl support */
|
||||
.pwine_get_wgl_driver = nulldrv_wine_get_wgl_driver,
|
||||
nulldrv_wine_get_wgl_driver,
|
||||
/* thread management */
|
||||
.pThreadDetach = nulldrv_ThreadDetach,
|
||||
nulldrv_ThreadDetach,
|
||||
};
|
||||
|
||||
const struct user_driver_funcs *user_driver = &lazy_load_driver;
|
||||
|
|
Loading…
Reference in New Issue