Commit Graph

727 Commits

Author SHA1 Message Date
Mikolaj Zalewski
ec58b4485a advapi32: Obtain the process id locally. 2007-08-23 13:35:41 +02:00
Mikolaj Zalewski
346fbb32e1 advapi32: Return an error if we try to start an already running service. 2007-08-23 13:35:34 +02:00
Juan Lang
a5bbed2b95 advapi32: Add more tests for CryptVerifySignatureW, and correct its parameter checking. 2007-08-23 12:37:55 +02:00
Paul Vriens
95af1823ca advapi32/tests: Skip a test when not properly logged in on win9x. 2007-08-17 11:47:51 +02:00
Paul Vriens
fc436b92e5 advapi32/tests: Use GetModuleHandleA and skip. 2007-08-14 20:29:21 +02:00
Paul Vriens
4e8b83dcde advapi32/tests: Make tests run again on win95. 2007-08-14 12:45:49 +02:00
Paul Vriens
a5aab7fae6 advapi32/tests: Fix typo. 2007-08-08 15:32:04 +02:00
Paul Vriens
0900c72bef advapi32/service: Cater better for domain in test. 2007-07-31 22:35:36 +02:00
Alexandre Julliard
a0dd646eef advapi32/tests: Don't test the contents of an uninitialized buffer. 2007-07-31 22:35:30 +02:00
Francois Gouget
5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Francois Gouget
a33993bcbd crypt32: Fix the CryptReleaseContext() prototype. 2007-07-31 21:37:09 +02:00
Paul Vriens
def4466fd1 advapi32/service: Cater for domain in the test. 2007-07-30 23:37:58 +02:00
Paul Vriens
02e160179f advapi32/tests: Use skip when we don't have enough rights. 2007-07-30 23:37:58 +02:00
Paul Vriens
9b8e9516ab advapi32/service: Be a bit more consistent. 2007-07-30 14:59:20 +02:00
Paul Vriens
9c2d8c73aa advapi32/service: Fix GetServiceDisplayNameA for service with no displayname. 2007-07-30 14:59:13 +02:00
Paul Vriens
641e645276 advapi32/service: Test for too small buffer. 2007-07-30 14:46:20 +02:00
Paul Vriens
07af2fe2b5 advapi32/service: Set correct error when the service doesn't exist. 2007-07-30 14:46:14 +02:00
Paul Vriens
dc6653887c advapi32/service: Fix buffersize calculations for GetServiceDisplayNameW. 2007-07-27 12:50:31 +02:00
Paul Vriens
95d2f04611 advapi32/service: Forward GetServiceDisplayNameA to GetServiceDisplayNameW. 2007-07-27 12:50:19 +02:00
Paul Vriens
23d61ac866 advapi32/service: Test GetServiceDisplayNameA for service with no displayname. 2007-07-27 12:48:20 +02:00
Paul Vriens
adb3bbf274 advapi32/service: More tests for GetServiceDisplayName. 2007-07-27 12:48:00 +02:00
Paul Vriens
f0e07382cd advapi32/service: Add tests for GetServiceKeyName. 2007-07-25 13:01:52 +02:00
Paul Vriens
7625c3bf37 advapi32/service: Close a handle on failure. 2007-07-25 13:01:43 +02:00
Paul Vriens
05e1539b2b advapi32/service: Add another test for GetServiceDisplayName. 2007-07-25 13:00:46 +02:00
Paul Vriens
83d8cbcc48 advapi32/service: Handle is checked before servicename. 2007-07-24 11:26:00 +02:00
Paul Vriens
b5a61cb492 advapi32/service: Add tests for GetDisplayName. 2007-07-23 11:48:26 +02:00
Paul Vriens
12dbeef655 advapi32/tests: Run on NT4 again. 2007-07-23 11:48:19 +02:00
Dmitry Timoshkov
433393fd51 advapi32: Rename the test to better represent the tested functionality. 2007-07-20 12:25:50 +02:00
Paul Vriens
e50edb61f0 advapi32/service: Some 'refcount' tests. 2007-07-20 11:45:53 +02:00
Paul Vriens
4c24492d31 advapi32/service: lpBinaryPathName is mandatory. 2007-07-20 11:45:09 +02:00
Paul Vriens
af27e2159f advapi32/service: Some tests for DeleteService. 2007-07-19 11:57:01 +02:00
Paul Vriens
f8f6340a69 advapi32/service: Check for duplicate displayname. 2007-07-19 11:56:39 +02:00
Paul Vriens
a80e952ac0 advapi32/service: Cleanup (long lines and a typo). 2007-07-19 11:56:30 +02:00
Rob Shearman
4fdf90d406 advapi32: Add tests for ConvertStringSecurityDescriptorToSecurityDescriptor. 2007-07-19 11:55:47 +02:00
Rob Shearman
ccfa9ad8df advapi32: Set the right pointer so that StringAcl is updated correct in ParseAceStringRights.
The number of allowed hex digits should be 8, not 6.
2007-07-19 11:55:37 +02:00
Rob Shearman
6c24386e03 advapi32: Don't crash in ConvertStringSecurityDescriptorToSecurityDescriptorW if LocalAlloc fails. 2007-07-19 11:55:13 +02:00
Rob Shearman
4d5ce383f5 advapi32: Add the size of the security descriptor structure to the size of memory required in ParseStringSecurityDescriptorToSecurityDescriptor. 2007-07-19 11:55:06 +02:00
Rob Shearman
60d847b074 advapi32: Fix a typo in ParseStringAclToAcl which caused the ACE to be written inside of the ACL memory. 2007-07-19 11:54:59 +02:00
Rob Shearman
f56fe2c1bc advapi32: Fix ComputeStringSidSize to work with SIDs with one sub authority.
Use GetSidLengthRequired instead of computing the length in a way that 
won't always be correct.
2007-07-19 11:54:40 +02:00
Paul Vriens
f8ea5a73ce advapi32/service: Test for duplicate displayname. 2007-07-18 13:38:16 +02:00
Paul Vriens
6c63fa627e advapi32/service: Check combination of service-type and start-type. 2007-07-16 22:47:09 +02:00
Paul Vriens
cf111099fc advapi32/tests: Use skip instead of trace. 2007-07-13 14:43:29 +02:00
Paul Vriens
f09359cda4 advapi/service: Check servicetype and starttype. 2007-07-13 12:28:25 +02:00
Paul Vriens
d470e688c4 advapi/service: Create specific access rights for service handles. 2007-07-13 12:27:40 +02:00
Paul Vriens
137eb037b9 advapi/service: Check for empty servicename and binaryname. 2007-07-12 12:58:29 +02:00
Paul Vriens
c011369aab advapi/service: Check if we have enough access rights to create a service. 2007-07-12 12:58:16 +02:00
Paul Vriens
5dab8935b9 advapi/service: First tests (and fixes) for CreateService. 2007-07-12 12:58:08 +02:00
Paul Vriens
13b3b724c6 advapi/service: Fix possible handle leak. 2007-07-12 12:57:47 +02:00
Paul Vriens
05fec6c871 advapi/service: Simplify DeleteService by using RegDeleteTree. 2007-07-12 12:57:41 +02:00
Paul Vriens
14ab7d766f advapi32: Create specific access rights for service control manager handles. 2007-07-11 11:59:39 +02:00