Stubs for EnumServiceStatus32, small changes.
This commit is contained in:
parent
4493a74c23
commit
54b33cfbeb
|
@ -29,8 +29,8 @@ type win32
|
|||
0025 stub CreatePrivateObjectSecurity
|
||||
0026 stub CreateProcessAsUserA
|
||||
0027 stub CreateProcessAsUserW
|
||||
0028 stdcall CreateServiceA(long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateServiceA
|
||||
0029 stub CreateServiceW
|
||||
0028 stdcall CreateServiceA(long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateService32A
|
||||
0029 stdcall CreateServiceW (long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateService32A
|
||||
0030 stub DeleteAce
|
||||
0031 stdcall DeleteService(long) DeleteService
|
||||
0032 stdcall DeregisterEventSource(long) DeregisterEventSource
|
||||
|
@ -38,8 +38,8 @@ type win32
|
|||
0034 stub DuplicateToken
|
||||
0035 stub EnumDependentServicesA
|
||||
0036 stub EnumDependentServicesW
|
||||
0037 stub EnumServicesStatusA
|
||||
0038 stub EnumServicesStatusW
|
||||
0037 stdcall EnumServicesStatusA (long long long ptr long ptr ptr ptr) EnumServicesStatus32A
|
||||
0038 stdcall EnumServicesStatusW (long long long ptr long ptr ptr ptr) EnumServicesStatus32A
|
||||
0039 stdcall EqualPrefixSid(ptr ptr) EqualPrefixSid
|
||||
0040 stdcall EqualSid(ptr ptr) EqualSid
|
||||
0041 stub FindFirstFreeAce
|
||||
|
|
|
@ -11,7 +11,19 @@
|
|||
#include "shell.h"
|
||||
#include "heap.h"
|
||||
#include "debug.h"
|
||||
|
||||
/***********************************************************************
|
||||
* EnumServicesStatus32A [ADVAPI32.37]
|
||||
*/
|
||||
BOOL32 WINAPI EnumServicesStatus32A( HANDLE32 hSCManager, DWORD dwServiceType,
|
||||
DWORD dwServiceState, LPVOID lpServices,
|
||||
DWORD cbBufSize, LPDWORD pcbBytesNeeded,
|
||||
LPDWORD lpServicesReturned, LPDWORD lpResumeHandle)
|
||||
{ FIXME (advapi,"%x type=%lx state=%lx %p %lx %p %p %p\n", hSCManager,
|
||||
dwServiceType, dwServiceState, lpServices, cbBufSize,
|
||||
pcbBytesNeeded, lpServicesReturned, lpResumeHandle);
|
||||
SetLastError (ERROR_ACCESS_DENIED);
|
||||
return 0;
|
||||
}
|
||||
/***********************************************************************
|
||||
* StartServiceCtrlDispatcherA [ADVAPI32.196]
|
||||
*/
|
||||
|
@ -169,7 +181,7 @@ BOOL32 WINAPI GetTokenInformation(
|
|||
*/
|
||||
HANDLE32 WINAPI OpenSCManager32A( LPCSTR lpMachineName, LPCSTR lpDatabaseName,
|
||||
DWORD dwDesiredAccess )
|
||||
{
|
||||
{
|
||||
LPWSTR lpMachineNameW = HEAP_strdupAtoW(GetProcessHeap(),0,lpMachineName);
|
||||
LPWSTR lpDatabaseNameW = HEAP_strdupAtoW(GetProcessHeap(),0,lpDatabaseName);
|
||||
DWORD ret = OpenSCManager32W(lpMachineNameW,lpDatabaseNameW,
|
||||
|
@ -343,9 +355,9 @@ HANDLE32 WINAPI OpenService32W( HANDLE32 hSCManager, LPCWSTR lpServiceName,
|
|||
|
||||
|
||||
/******************************************************************************
|
||||
* CreateServiceA [ADVAPI32.28]
|
||||
* CreateService32A [ADVAPI32.28]
|
||||
*/
|
||||
DWORD WINAPI CreateServiceA( DWORD hSCManager, LPCSTR lpServiceName,
|
||||
DWORD WINAPI CreateService32A( DWORD hSCManager, LPCSTR lpServiceName,
|
||||
LPCSTR lpDisplayName, DWORD dwDesiredAccess,
|
||||
DWORD dwServiceType, DWORD dwStartType,
|
||||
DWORD dwErrorControl, LPCSTR lpBinaryPathName,
|
||||
|
|
Loading…
Reference in New Issue