Hans Leidekker
53d956700a
advapi32: Use wide character string literals.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-10 22:06:39 +02:00
Alexandre Julliard
c487f21b6b
advapi32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-09 20:30:31 +02:00
Gijs Vermeulen
3c1edaaae5
advapi32: Set last error directly in GetUserName.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-15 14:08:51 +02:00
Alexandre Julliard
f8fb43aaba
advapi32: Use WINEUSERNAME variable to implement GetUserNameA/W.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Louis Lenders
8c61f824f9
advapi32: Add InitiateShutdown{A,W} stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 09:16:47 -05:00
Nikolay Sivov
28d9215961
advapi32: Fix trace format of InitiateSystemShutdownEx().
...
'Reason' argument is a set of flags
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:01 +01:00
Frédéric Delanoy
1d131cff6e
advapi32: Use dbgstr_a() to print string in a FIXME.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:09:26 +09:00
Hans Leidekker
09de5cdb38
advapi32: Add a stub implementation of RegisterWaitChainCOMCallback.
2015-08-03 20:50:33 +02:00
Nikolay Sivov
ae1d5912fe
advapi32: Switch to heap helpers in the rest of the code.
2014-08-29 09:57:56 +02:00
André Hentschel
929d9fb9f7
advapi32: Use boolean return values in boolean functions.
2014-02-04 11:15:18 +01:00
Hans Leidekker
7519cddddb
advapi32: Forward LogonUserA to LogonUserW.
2013-11-13 18:29:22 +01:00
Hans Leidekker
02970b578e
advapi32: Return a fake handle from LogonUserW.
2013-11-13 18:29:04 +01:00
Alex Stanev
82b7a4166f
advapi32: Set *lpSize properly in GetUserNameA.
2011-07-05 14:40:00 +02:00
Andrew Nguyen
c0b7345e38
advapi32: Fix last error value of GetUserNameA/W and output buffer handling in GetUserNameA.
2011-06-01 16:12:36 +02:00
Kai Blin
faf6f3f299
advapi32: Fix output of GetUserNameW when joined to a domain.
...
On a Windows box joined to a domain, GetUserName will not return the domain
part. On a Unix box joined to a domain via winbindd, wine_get_user_name will.
So we need to cut off the domain instead of just replacing the \ character.
2009-06-03 15:34:24 +02:00
Andrew Talbot
06f05a9a5c
advapi32: Use correct function pointer cast.
2008-04-30 10:25:52 +02:00
Rob Shearman
e3fae172f1
advapi32: Implement ANSI credential management functions.
2007-10-31 12:39:54 +01:00
Rob Shearman
61e836b947
advapi32: Implement CredEnumerateW.
2007-10-31 12:39:53 +01:00
Juan Lang
1fd2bc5215
advapi32: Add stubs for CredEnumerateA/W.
2007-10-25 12:53:22 +02:00
Andrew Talbot
eb48a47260
advapi32: Fix a typo.
2007-05-14 14:25:16 +02:00
Alexandre Julliard
ec636f151b
advapi32: Avoid slashes and backslashes in user names.
2007-02-28 14:51:04 +01:00
Bang Jun-Young
793b12cdad
advapi32: Do not include unnecessary headers.
2007-01-22 13:29:00 +01:00
Hans Leidekker
4301816d47
advapi32: Win64 printf format warning fixes.
2006-10-03 16:21:58 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Markus Amsler
d45811ce2a
Improve c2man Documented-Total count.
2005-11-04 11:43:27 +00:00
Mike McCormack
febe90b263
Implement advapi32.CommandLineFromMsiDescriptor. It's a wrapper for
...
msi.MsiProvideComponentFromDescriptor.
2005-11-04 11:15:18 +00:00
Mike McCormack
4fd603607f
Include appmgmt.h where its functions are used.
2005-06-09 09:44:26 +00:00
Alexandre Julliard
16885f09a5
Fixed RtlIsTextUnicode prototype, and made it properly take into
...
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +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
James Hawkins
ce4a4ef981
Minor documentation addition.
2004-12-14 15:27:05 +00:00
Mike McCormack
418672f2e5
Added a stub implementation for GetCurrentHwProfileW.
2004-12-01 15:27:59 +00:00
James Hawkins
250c7c08bb
Added some more API docs.
2004-07-12 23:32:10 +00:00
Alexandre Julliard
6ddfba14e2
Fixed buffer size handling in GetUserNameA (reported by Hannu
...
Valtonen).
2004-05-10 21:26:58 +00:00
Alexandre Julliard
c4effa39e6
Use the Unix codepage to convert the user name to Unicode.
2004-05-07 04:01:28 +00:00
Juan Lang
4161a8b474
Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys
...
Materials Studio.
2004-03-22 21:31:26 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Steven Edwards
14e3b19cd0
Fixes for building with w32api headers on Mingw.
2003-08-22 05:05:56 +00:00
Mike McCormack
d0c2c6df72
Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl
...
and SetNamedSecurityInfo.
2003-08-12 18:53:14 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +00:00
Alexandre Julliard
dba83c8bfc
Added wine_get_user_name function and got rid of some of the getpwuid
...
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Patrik Stridvall
09570edaa5
MSVC compatibility fixes.
2002-08-17 01:22:59 +00:00
Aric Stewart
49467be6d9
Added GetCurrentHwProfileA.
2002-06-14 23:32:46 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Leo van den Berg
b611681c3f
Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck.
2002-04-19 00:04:27 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
James Juran
a630510baf
GetUserName should include the terminating null character when
...
returning the size of the buffer returned. Correctly handle the
ERROR_MORE_DATA case.
2001-11-20 20:26:54 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Alexandre Julliard
e101f6db3b
Cleaned up a few inter-dll dependencies. Added a few imports.
2000-08-14 14:42:41 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00