enable RQueryServiceObjectSecurity

svn path=/trunk/; revision=38625
This commit is contained in:
Ged Murphy 2009-01-07 10:38:17 +00:00
parent 542b6ccb3d
commit eff0bbf89b

View file

@ -738,7 +738,6 @@ DWORD RQueryServiceObjectSecurity(
DWORD cbBufSize, DWORD cbBufSize,
LPBOUNDED_DWORD_256K pcbBytesNeeded) LPBOUNDED_DWORD_256K pcbBytesNeeded)
{ {
#if 0
PSERVICE_HANDLE hSvc; PSERVICE_HANDLE hSvc;
PSERVICE lpService; PSERVICE lpService;
ULONG DesiredAccess = 0; ULONG DesiredAccess = 0;
@ -782,7 +781,7 @@ DWORD RQueryServiceObjectSecurity(
Status = RtlQuerySecurityObject(lpService->lpSecurityDescriptor, Status = RtlQuerySecurityObject(lpService->lpSecurityDescriptor,
dwSecurityInformation, dwSecurityInformation,
(PSECURITY_DESCRIPTOR)lpSecurityDescriptor, (PSECURITY_DESCRIPTOR)lpSecurityDescriptor,
dwSecuityDescriptorSize, cbBufSize,
&dwBytesNeeded); &dwBytesNeeded);
/* FIXME: Unlock the service list */ /* FIXME: Unlock the service list */
@ -807,9 +806,6 @@ DWORD RQueryServiceObjectSecurity(
} }
return dwError; return dwError;
#endif
UNIMPLEMENTED;
return ERROR_CALL_NOT_IMPLEMENTED;
} }