diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2f53e8d2f..d2565db03 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,18 +1,25 @@ +2004-11-20 Danny Smith + + * include/winbase.h (PPROCESS_INFORMATION): Add typedef. + (CreateProcessWithLogonW): Declare. + (LOGON_WITH_PROFILE, LOGON_NETCREDENTIALS_ONLY): Add defines. + Thanks to: "jkmaki" + 2004-11-19 Danny Smith * include/sspi.h (SecPkgContext_Sizes): Fix typo. - Thanks to: David Leonard + Thanks to: David Leonard 2004-11-19 Danny Smith * include/sspi.h (SecPkgCredentials_Names[AW]): Correct name. Thanks to: David Leonard -2004-11-19 Magnus Olsen +2004-11-19 Magnus Olsen * include/winuser.h (MSLLHOOKSTRUCT): Add structure. -2004-11-19 Magnus Olsen +2004-11-19 Magnus Olsen * 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 eb31442ca..ed3c630ad 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);