Stubs for EnumServiceStatus32, small changes.

This commit is contained in:
Juergen Schmied 1998-11-30 17:41:17 +00:00 committed by Alexandre Julliard
parent 4493a74c23
commit 54b33cfbeb
2 changed files with 20 additions and 8 deletions

View File

@ -29,8 +29,8 @@ type win32
0025 stub CreatePrivateObjectSecurity 0025 stub CreatePrivateObjectSecurity
0026 stub CreateProcessAsUserA 0026 stub CreateProcessAsUserA
0027 stub CreateProcessAsUserW 0027 stub CreateProcessAsUserW
0028 stdcall CreateServiceA(long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateServiceA 0028 stdcall CreateServiceA(long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateService32A
0029 stub CreateServiceW 0029 stdcall CreateServiceW (long ptr ptr long long long long ptr ptr ptr ptr ptr ptr) CreateService32A
0030 stub DeleteAce 0030 stub DeleteAce
0031 stdcall DeleteService(long) DeleteService 0031 stdcall DeleteService(long) DeleteService
0032 stdcall DeregisterEventSource(long) DeregisterEventSource 0032 stdcall DeregisterEventSource(long) DeregisterEventSource
@ -38,8 +38,8 @@ type win32
0034 stub DuplicateToken 0034 stub DuplicateToken
0035 stub EnumDependentServicesA 0035 stub EnumDependentServicesA
0036 stub EnumDependentServicesW 0036 stub EnumDependentServicesW
0037 stub EnumServicesStatusA 0037 stdcall EnumServicesStatusA (long long long ptr long ptr ptr ptr) EnumServicesStatus32A
0038 stub EnumServicesStatusW 0038 stdcall EnumServicesStatusW (long long long ptr long ptr ptr ptr) EnumServicesStatus32A
0039 stdcall EqualPrefixSid(ptr ptr) EqualPrefixSid 0039 stdcall EqualPrefixSid(ptr ptr) EqualPrefixSid
0040 stdcall EqualSid(ptr ptr) EqualSid 0040 stdcall EqualSid(ptr ptr) EqualSid
0041 stub FindFirstFreeAce 0041 stub FindFirstFreeAce

View File

@ -11,7 +11,19 @@
#include "shell.h" #include "shell.h"
#include "heap.h" #include "heap.h"
#include "debug.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] * StartServiceCtrlDispatcherA [ADVAPI32.196]
*/ */
@ -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, LPCSTR lpDisplayName, DWORD dwDesiredAccess,
DWORD dwServiceType, DWORD dwStartType, DWORD dwServiceType, DWORD dwStartType,
DWORD dwErrorControl, LPCSTR lpBinaryPathName, DWORD dwErrorControl, LPCSTR lpBinaryPathName,