Commit Graph

711 Commits

Author SHA1 Message Date
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
Paul Vriens 06d6a03d45 advapi32: Handle to Service Control Manager is checked first. 2007-07-09 12:16:52 +02:00
Paul Vriens db892decda advapi32/tests: Add tests for CloseServiceHandle. 2007-07-06 18:11:36 +02:00
Paul Vriens 71982a4257 advapi32/tests: Add tests for OpenServiceA. 2007-07-06 18:11:26 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Paul Vriens 21492e4904 advapi32/tests: Use skip for not implemented function. 2007-07-05 19:54:31 +02:00
Paul Vriens 8fae363595 advapi32/tests: Use skip when we don't have enough rights. 2007-07-03 20:39:32 +02:00
Paul Vriens 6dde764898 advapi32/tests: Add tests for OpenSCManagerA. 2007-07-02 13:37:34 +02:00
Paul Vriens ff62d6cf42 advapi32/service: Don't rely blindly on type. 2007-06-28 11:00:35 +02:00
Paul Vriens 9c6a5dfa85 advapi32/service: Make sure we fill all struct members. 2007-06-28 11:00:23 +02:00
Paul Vriens dcef0bbf71 advapi32/service: Return (more) correct needed buffersize. 2007-06-27 14:32:28 +02:00
Paul Vriens 169af787d2 advapi32/service: Fix wrong key. 2007-06-27 14:32:28 +02:00
Paul Vriens 160b55cb2a advapi32/service: Use the correct registry key for the service account. 2007-06-27 14:32:27 +02:00
Paul Vriens 3418ed23e1 advapi32/tests: Add some service related tests. 2007-06-27 14:32:27 +02:00
Rob Shearman d521a2c6d3 advapi32: Always set the requested fields of the security descriptor according to the info flags in GetNamedSecurityInfoW.
Also, set the control flags so that other security descriptor
functions can retrieve the info from it.
2007-06-25 23:21:50 +02:00
Francois Gouget 1da7a32b11 advapi32: Add more RegGetValue() conformance tests, and fix Wine accordingly. 2007-06-21 13:11:09 +02:00
Alexandre Julliard 9aa4235117 advapi32: Mark service processes as system processes, and exit when all user processes are done. 2007-06-06 20:33:30 +02:00