Andrew Nguyen
3822f9d2e1
advapi32/tests: Test SystemFunction036.
2010-01-18 14:28:16 +01:00
James Hawkins
72158ac286
Revert "advapi32: Free descriptor if it isn't returned from GetSecurityInfo().".
...
This reverts commit dbd76575ef
.
According to MSDN, ppSecurityDescriptor must not be NULL if any of the
SID or ACL parameters are non-NULL. This is wrong, and native
GetSecurityInfo will happily return those pointers, leaving one unable
to free the original security descriptor.
2010-01-18 14:15:23 +01:00
Nikolay Sivov
dbd76575ef
advapi32: Free descriptor if it isn't returned from GetSecurityInfo().
2010-01-11 15:46:04 -06:00
James Hawkins
621a772d48
advapi32: Fix a few memory leaks. Use the correct API to free SIDs (FreeSid).
2010-01-07 17:59:58 +01:00
Marcin Baczyński
005b9066f4
advapi32/tests: Remove superfluous void* cast.
2010-01-07 09:27:02 +01:00
Juan Lang
dec7dda411
advapi32/tests: Fix memory leaks in tests.
2009-12-11 17:47:30 +01:00
Paul Vriens
72c54e5d3b
adapi32/tests: Fix test failures when the computername is fully qualified on W2K3 and earlier.
2009-12-08 12:53:09 +01:00
Paul Chitescu
7fea0e332f
advapi32: Reduce registry access to MAXIMUM_ALLOWED wherever possible.
2009-12-07 14:50:20 +01:00
Paul Vriens
19f4c42f99
advapi32/tests: Fix some test failures when the computername is fully qualified.
2009-12-07 14:18:27 +01:00
Rob Shearman
190a11ddb6
advapi32: Fix memory leaks in security tests.
2009-12-02 16:08:53 +01:00
Rob Shearman
8bfc736561
advapi32: Don't test the contents of memory outside of a valid block of memory.
2009-12-02 16:08:52 +01:00
Hans Leidekker
c0d79c475b
advapi32: Improve the stub for GetEffectiveRightsFromAclA.
2009-12-01 13:16:39 +01:00
Paul Vriens
a29581ba36
advapi32/tests: Add some EnumServicesStatus*W tests.
2009-11-30 13:13:38 +01:00
Paul Vriens
da92afa3e1
advapi32/tests: Fix a test failure on W2K3 without a service pack.
2009-11-24 15:53:36 +01:00
Paul Vriens
91648ff4be
advapi32/tests: Fix an intermittent crash on NT4.
2009-11-24 15:53:36 +01:00
Louis Lenders
5edac26628
advapi32: Don't delay import rpcrt4.
2009-11-23 15:25:39 +01:00
Paul Vriens
b5446ea525
advapi32/tests: Fix test failures on Vista and higher for multiple runs.
2009-11-23 13:09:45 +01:00
Alexandre Julliard
36efda3d39
advapi32/tests: Add some tests for creation of volatile keys.
2009-11-20 11:40:07 +01:00
Austin Lund
5c45c35e4e
advapi32/tests: Skip tests for ACL file info if ACL info not stored.
2009-11-18 15:15:45 +01:00
Paul Vriens
6befd9f54c
advapi32/tests: Add some extra info to an ok() call.
2009-11-17 15:14:55 +01:00
Paul Vriens
e732ca1935
advapi32/tests: Fix some test failures on Vista without a servicepack.
2009-11-17 15:14:55 +01:00
Paul Vriens
bfa2479d4d
advapi32/tests: Fix some test failures on NT4.
2009-11-17 15:14:53 +01:00
Paul Vriens
3912286aad
advapi32/tests: Skip some tests on Win9x and WinMe.
2009-11-17 15:14:53 +01:00
Paul Vriens
e32218fd3c
advapi32/tests: Fix a test failure with Wow64.
2009-11-16 15:15:58 +01:00
Paul Vriens
f852d98ee1
advapi32/tests: Fix some test failures on 64bit systems.
2009-11-16 15:15:15 +01:00
Detlef Riekenberg
84d24e5de5
advapi32: Dump the guid in a FIXME.
2009-11-16 12:43:07 +01:00
Rob Shearman
1f3a14e767
advapi32: EqualSid should set last error to ERROR_SUCCESS.
2009-11-16 11:39:28 +01:00
Rob Shearman
3498a88179
advapi32: Add tests for EqualSid.
2009-11-16 11:39:24 +01:00
Paul Vriens
1bbb880fd9
advapi32/tests: Add tests for reading and writing to a real eventlog.
2009-11-13 13:38:34 +01:00
Rob Shearman
1802a5b9ba
advapi32: Use a duplicate of the process token if a NULL token is passed into CheckTokenMembership and there is no thread token.
2009-11-11 10:56:03 +01:00
Rob Shearman
9b3b9a1060
advapi32: Fix CheckTokenMembership test on Windows.
2009-11-11 10:55:57 +01:00
Paul Vriens
77c672f86f
advapi32/tests: Run tests on Win9x/WinMe again.
2009-11-10 15:18:05 +01:00
Rob Shearman
cf680ed0f2
advapi32: Implement CheckTokenMembership.
2009-11-09 19:44:11 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Paul Vriens
6a5f671678
advapi32/tests: Fix a test failure on Vista+.
2009-11-05 11:58:14 +01:00
Jeremy White
5df2626aae
advapi32/tests: Only release providers and free keys if we've had success creating them.
2009-11-04 16:45:16 +01:00
Paul Vriens
9c3c49f472
advapi32/tests: Add some tests for handling a backup file.
2009-11-04 13:07:56 +01:00
Paul Vriens
5dafeacbd5
advapi32: Add a input parameter check to ClearEventLog.
2009-11-04 13:07:56 +01:00
Paul Vriens
e13ead6949
advapi32/tests: Add some ClearEventLog tests.
2009-11-04 13:07:56 +01:00
Jeremy White
e07e2ac3f7
advapi32/tests: Prevent test failure when computer name and user name are the same.
2009-11-03 22:23:27 +01:00
Paul Vriens
e94c1ce3ae
advapi32: Add some input parameter checks to OpenBackupEventLog.
2009-11-03 21:26:35 +01:00
Paul Vriens
381533e59b
advapi32/tests: Add some OpenBackupEventLog tests.
2009-11-03 21:26:25 +01:00
Paul Vriens
531363f6e6
advapi32/tests: Add some ReadEventLogA tests.
2009-11-03 21:26:15 +01:00
Paul Vriens
d2227cb8a4
advapi32: Add some input parameter checks to BackupEventLog.
2009-10-30 15:04:25 +01:00
Paul Vriens
b90ef8c6d9
advapi32/tests: Add some BackupEventLog tests.
2009-10-30 15:04:25 +01:00
Paul Vriens
78452960bc
advapi32: Add some input parameter checks to GetOldestEventLogRecord.
2009-10-29 13:09:13 +01:00
Paul Vriens
1fe325fd13
advapi32/tests: Add some GetOldestEventLogRecord tests.
2009-10-29 13:09:08 +01:00
Paul Vriens
de72f40580
advapi32: Add some input parameter checks to GetNumberOfEventLogRecords.
2009-10-29 13:08:58 +01:00
Paul Vriens
215ca8a4d7
advapi32/tests: Add some GetNumberOfEventLogRecords tests.
2009-10-29 13:08:51 +01:00
Paul Vriens
7cc43213d7
advapi32: Add a stubbed GetEventLogInformation with input param checking.
2009-10-28 11:14:52 +01:00