****** ROS-specific code sync too

[WINESYNC] setupapi: Install services in InstallHinfSection.

wine commit id c7e661b8e5a0c339ef09e89cc759dc6620e14541 by Alexandre Julliard <julliard@winehq.org>

SYNC NOTE: Adapted to ReactOS-specific code.

Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
This commit is contained in:
winesync 2024-01-03 16:51:09 +01:00 committed by Hermès Bélusca-Maïto
parent ca354ef614
commit a3a815aca7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 2 deletions

View file

@ -1476,7 +1476,7 @@ void WINAPI InstallHinfSectionW( HWND hwnd, HINSTANCE handle, LPCWSTR cmdline, I
#endif
BOOL ret = FALSE;
WCHAR *s, *path, section[MAX_PATH + sizeof(nt_platformW)/sizeof(WCHAR)];
WCHAR *s, *path, section[MAX_PATH + (sizeof(nt_platformW) + sizeof(DotServices))/sizeof(WCHAR)];
void *callback_context = NULL;
DWORD SectionNameLength;
UINT mode;

View file

@ -5,4 +5,4 @@ files:
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
tags:
wine: cf78e6c38c6815cc9ef805b791414bd67acbb992
wine: c7e661b8e5a0c339ef09e89cc759dc6620e14541