mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:45:42 +00:00
[ADVAPI32][IDL][SERVICES] Implement I_ScValidatePnPService
This is actually a Vista+ function, but we need it enable umpnpmgr.dll to notify services of device events. Up until WinXP it was possible to make direct calls to the service manager by umpnpmgr.dll because umpnpmgr.dll was loaded into the service manager process. From Vista onwards umpnpmgr.dll is run as a separate service host process. And since ReactOS always ran umpnpmgr.dll as a separate process, we have to use the Vista RPC functions to notify services.
This commit is contained in:
parent
10bb50b456
commit
f5346cbc1b
4 changed files with 93 additions and 7 deletions
|
@ -882,8 +882,10 @@ interface svcctl
|
|||
/* Function 53 */
|
||||
DWORD
|
||||
__stdcall
|
||||
RValidatePnPService(
|
||||
[in] handle_t BindingHandle); /* FIXME */
|
||||
RI_ScValidatePnPService(
|
||||
[in] SC_RPC_HANDLE hService,
|
||||
[in, string] LPWSTR pszServiceName,
|
||||
[out] RPC_SERVICE_STATUS_HANDLE *phServiceStatus);
|
||||
|
||||
/* Function 54 */
|
||||
DWORD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue