[PSDK] Add missing hMonitor member in union with hIcon in SHELLEXECUTEINFOA/W

As documented in the official MS PSDK and MSDN.
This commit is contained in:
Hermès Bélusca-Maïto 2025-04-29 16:25:13 +02:00
parent 37e2c59096
commit b1cf981c52
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -319,11 +319,17 @@ typedef struct _SHELLEXECUTEINFOA {
LPCSTR lpDirectory;
int nShow;
HINSTANCE hInstApp;
/* Optional fields */
PVOID lpIDList;
LPCSTR lpClass;
HKEY hkeyClass;
DWORD dwHotKey;
HANDLE hIcon;
_ANONYMOUS_UNION union {
HANDLE hIcon;
#if (NTDDI_VERSION >= NTDDI_WIN2K)
HANDLE hMonitor;
#endif
} DUMMYUNIONNAME;
HANDLE hProcess;
} SHELLEXECUTEINFOA,*LPSHELLEXECUTEINFOA;
typedef struct _SHELLEXECUTEINFOW {
@ -336,11 +342,17 @@ typedef struct _SHELLEXECUTEINFOW {
LPCWSTR lpDirectory;
int nShow;
HINSTANCE hInstApp;
/* Optional fields */
PVOID lpIDList;
LPCWSTR lpClass;
HKEY hkeyClass;
DWORD dwHotKey;
HANDLE hIcon;
_ANONYMOUS_UNION union {
HANDLE hIcon;
#if (NTDDI_VERSION >= NTDDI_WIN2K)
HANDLE hMonitor;
#endif
} DUMMYUNIONNAME;
HANDLE hProcess;
} SHELLEXECUTEINFOW,*LPSHELLEXECUTEINFOW;
typedef struct _SHFILEOPSTRUCTA {