Alexander Yaworsky
401d4cf42a
Correct incorrect use of arguments to QueryServiceConfigA. Spotted by
...
Troy Rollo.
2005-03-10 11:14:04 +00:00
Jason Edmeades
de70942e6d
Add stub for SetSecurityInfo.
2005-03-07 11:00:24 +00:00
Jakob Eriksson
0667f919ab
Account for permissions on Win2k.
2005-03-05 10:47:13 +00:00
Troy Rollo
bf6d5fc66b
Make GetFileSecurityW return a standard SECURITY_DESCRIPTOR instead of
...
an uninitialised (and invalid) one.
2005-03-05 10:46:34 +00:00
Troy Rollo
4021f530d7
Return an empty string for service dependencies when there are no
...
dependencies, rather than a NULL pointer, which causes some apps to
SEGV.
2005-03-04 12:32:50 +00:00
Troy Rollo
74e2cfb66c
Correct incorrect use of arguments to QueryServiceConfigW.
2005-03-04 10:47:41 +00:00
James Hawkins
e8d1e2f745
Fix RegOpen/CloseKey.
2005-02-25 16:52:10 +00:00
Jakob Eriksson
e2dab32daa
Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND.
2005-02-23 12:44:15 +00:00
James Hawkins
d5e2b7c843
Add RegOpenKey, RegCloseKey tests.
2005-02-21 20:37:26 +00:00
Jakob Eriksson
e026ef742e
Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND.
2005-02-17 11:50:36 +00:00
Francois Gouget
dd073bbb3f
Cast the GetProcAddress() return value to avoid warnings about the
...
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Vincent Béron
d8a26f2c5f
Suppress a warning.
2005-02-14 11:52:48 +00:00
Stefan Leichter
68e1208f59
Make advapi32_test.exe loadable on NT 3.51.
2005-02-14 11:06:16 +00:00
Robert Shearman
b0f02b28b9
- Implement AdjustTokenPrivileges, DuplicateTokenEx and
...
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
set for the thread.
2005-02-11 11:52:06 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Alexandre Julliard
d6df8f5675
Don't make the test key volatile, that can break other tests.
2005-01-27 11:15:00 +00:00
Mike McCormack
81ed8be90d
Convert services to use pipes for RPC instead of shared memory.
2005-01-24 19:33:43 +00:00
Mike McCormack
939179d681
Fix, add and rearrange winsvc.h declarations.
2005-01-14 16:50:57 +00:00
Mike McCormack
c3ead97b4e
Move all service stubs together, make them consistent.
2005-01-14 16:20:41 +00:00
Mike McCormack
1afd5f68f8
Cleanup service handles.
2005-01-14 15:13:40 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Jakob Eriksson
6239fc72de
On NT4 we can also get ERROR_RING2_STACK_IN_USE from
...
CryptAcquireContext().
2005-01-04 20:31:53 +00:00
Mike McCormack
8d830b6246
Add some missing declarations in the spec file.
2005-01-03 20:10:45 +00:00
Hans Leidekker
0cc2031409
Stub implementations for GetKernelObjectSecurity,
...
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Michael Stefaniuc
15a308a9d7
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2005-01-03 14:56:42 +00:00
Mike McCormack
816f86560e
Fix CreateService's error code for a service that already exists.
2004-12-27 17:44:47 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Mike McCormack
1645ab0492
Don't use RtlCreateUnicodeStringFromAsciiz, it doesn't preserve NULL.
2004-12-27 17:10:31 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard
1d36d12917
Fixed prototypes of a couple of ntdll functions.
...
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker
49f7f6c208
Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
...
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Ivan Leo Puoti
a329904a3f
In OpenSCManagerW() allow lpDatabaseName to be an empty string.
2004-12-21 16:05:28 +00:00
Michael Jung
a3b97e051a
Respect the sDescription parameter in CryptSignHash and
...
CryptVerifySignature.
2004-12-21 14:34:18 +00:00
Michael Jung
e9cb2e6d5f
ixed calculation of buffer size in CRYPT_ANSIToUnicode and
...
CRYPT_UnicodeToANSI.
2004-12-20 18:52:41 +00:00
Jon Griffiths
873cd009d0
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-15 10:54:44 +00:00
James Hawkins
ce4a4ef981
Minor documentation addition.
2004-12-14 15:27:05 +00:00
James Hawkins
7f34c04067
Cleanup some documentation.
2004-12-14 15:26:04 +00:00
Alexander Yaworsky
e849a56673
Check service database name in OpenSCManager().
2004-12-09 16:52:10 +00:00
Mike McCormack
0128a849b1
Stub implementations for Lsa(Store/Retrieve)PrivateData.
2004-12-08 14:02:26 +00:00
Alexander Yaworsky
9087fb2000
Notify StartService when service control dispatcher has been
...
started. Otherwise StartService terminates service process.
2004-12-08 14:01:26 +00:00
Alexander Yaworsky
e2b9000b84
Implemented RegisterServiceCtrlHandler, ControlService.
2004-12-07 14:24:58 +00:00
Stefan Leichter
2d136f0de9
Fix missing imports on NT4.
2004-12-06 20:38:24 +00:00
Mike McCormack
4bda758157
Stub implementations for DecryptFile, EncryptFile and
...
GetServiceDisplayName.
2004-12-06 16:17:08 +00:00
Alexander Yaworsky
bb1466e861
Implemented SetServiceStatus, QueryServiceStatus.
2004-12-06 11:35:22 +00:00
James Hawkins
e3ba250034
Only call test_set_provider_ex() once.
2004-12-06 11:34:40 +00:00
Alexander Yaworsky
e6985ab3a5
Basic implementation of service control dispatcher.
2004-12-02 19:51:41 +00:00
Alexander Yaworsky
78b64795d7
Introduced service thread.
2004-12-01 15:31:34 +00:00
Mike McCormack
418672f2e5
Added a stub implementation for GetCurrentHwProfileW.
2004-12-01 15:27:59 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
James Hawkins
88aeb475c0
Fixed a few memory leaks.
2004-11-30 17:33:27 +00:00