diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-11-20 00:03:08 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-11-20 00:03:08 +0000 |
commit | 225699ae46a8b4089f9c18ecdcbc0353d48d6781 (patch) | |
tree | 46d0bb58e7444b4d4cbdb77fea358d50c7443f24 /winsup | |
parent | 0409f190335d366f001ffb26d3df556940ca7bda (diff) | |
download | newlib-225699ae46a8b4089f9c18ecdcbc0353d48d6781.zip newlib-225699ae46a8b4089f9c18ecdcbc0353d48d6781.tar.gz newlib-225699ae46a8b4089f9c18ecdcbc0353d48d6781.tar.bz2 |
* include/winbase.h (PPROCESS_INFORMATION): Add typedef.
(CreateProcessWithLogonW): Declare.
(LOGON_WITH_PROFILE, LOGON_NETCREDENTIALS_ONLY): Add defines.
Thanks to: "jkmaki" <jkmaki@users.sourceforge.net>
Correct some ChangeLog typos.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 13 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 10 |
2 files changed, 19 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2f53e8d..d2565db 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,18 +1,25 @@ +2004-11-20 Danny Smith <dannysmith@users.sourceforge.net> + + * include/winbase.h (PPROCESS_INFORMATION): Add typedef. + (CreateProcessWithLogonW): Declare. + (LOGON_WITH_PROFILE, LOGON_NETCREDENTIALS_ONLY): Add defines. + Thanks to: "jkmaki" <jkmaki@users.sourceforge.net> + 2004-11-19 Danny Smith <dannysmith@users.sourceforge.net> * include/sspi.h (SecPkgContext_Sizes): Fix typo. - Thanks to: David Leonard <leonard@users,sourceforge.net> + Thanks to: David Leonard <leonard@users.sourceforge.net> 2004-11-19 Danny Smith <dannysmith@users.sourceforge.net> * include/sspi.h (SecPkgCredentials_Names[AW]): Correct name. Thanks to: David Leonard <leonard@users.sourceforge.net> -2004-11-19 Magnus Olsen <greatlord@sourceforge.users.net> +2004-11-19 Magnus Olsen <greatlord@users.sourceforge.net> * include/winuser.h (MSLLHOOKSTRUCT): Add structure. -2004-11-19 Magnus Olsen <greatlord@sourceforge.users.net> +2004-11-19 Magnus Olsen <greatlord@users.sourceforge.net> * include/winuser.h (LLKHF_EXTENDED, LLKHF_INJECTED, LLKHF_UP): Add defines. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index eb31442..ed3c630 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -751,7 +751,7 @@ typedef struct _PROCESS_INFORMATION { HANDLE hThread; DWORD dwProcessId; DWORD dwThreadId; -} PROCESS_INFORMATION,*LPPROCESS_INFORMATION; +} PROCESS_INFORMATION,*PPROCESS_INFORMATION,*LPPROCESS_INFORMATION; typedef struct _CRITICAL_SECTION_DEBUG { WORD Type; WORD CreatorBackTraceIndex; @@ -1174,6 +1174,14 @@ WINBASEAPI BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECUR WINBASEAPI BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); WINBASEAPI BOOL WINAPI CreateProcessAsUserA(HANDLE,LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); WINBASEAPI BOOL WINAPI CreateProcessAsUserW(HANDLE,LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCWSTR,LPSTARTUPINFOW,LPPROCESS_INFORMATION); +#if (_WIN32_WINNT >= 0x0500) +WINBASEAPI BOOL WINAPI CreateProcessWithLogonW (LPCWSTR,LPCWSTR,LPCWSTR,DWORD, + LPCWSTR,LPWSTR,DWORD,LPVOID, + LPCWSTR,LPSTARTUPINFOW, + LPPROCESS_INFORMATION); +#define LOGON_WITH_PROFILE 0x00000001 +#define LOGON_NETCREDENTIALS_ONLY 0x00000002 +#endif WINBASEAPI HANDLE WINAPI CreateRemoteThread(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); WINBASEAPI HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR); WINBASEAPI HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); |