server: Reverse return value and status in token_access_check to
be consistent.
Vitaliy Margolen
wine-patches at kievinfo.com
Sun Jan 21 14:39:24 CST 2007
Change Log:
- server: Reverse return value and status in token_access_check to be consistent.
- server: Do not set successful status by default. Set it explicitly in each case.
- advapi32: Add few tests.
It is some-what confusing to have token_access_check return 2 statuses. And
even more so, when it doesn't match with the native. Usually function returns
a status if call to it succeeded (all parameters are valid, caller allowed
to perform requested operation, etc). And extra parameters would indicate
if some check(s) succeeded or not.
---
dlls/advapi32/tests/security.c | 48 +++++++++++++++++++++++++-----
server/token.c | 63 ++++++++++++++++------------------------
2 files changed, 65 insertions(+), 46 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4abd90534928496d41b1242b826379f02fb36359.diff
Type: text/x-patch
Size: 9713 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070121/38446fc0/4abd90534928496d41b1242b826379f02fb36359-0001.bin
More information about the wine-patches
mailing list