* include/winbase.h (GetProcessId): Remove duplicate declaration.

Use _WIN32_WINNT >= 0x0501 guard.
This commit is contained in:
Danny Smith 2005-10-12 09:40:29 +00:00
parent 16d4791f87
commit c3a1f48c42
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (GetProcessId): Remove duplicate declaration.
Use _WIN32_WINNT >= 0x0501 guard.
2005-10-11 Christopher Faylor <cgf@timesys.com>
* include/winbase.h (GetProcessId): Declare.

View File

@ -1350,9 +1350,6 @@ WINBASEAPI HANDLE WINAPI GetCurrentProcess(void);
WINBASEAPI DWORD WINAPI GetCurrentProcessId(void);
WINBASEAPI HANDLE WINAPI GetCurrentThread(void);
WINBASEAPI DWORD WINAPI GetCurrentThreadId(void);
#if (_WIN32_WINNT >= 0x0501)
WINBASEAPI DWORD WINAPI GetProcessId(HANDLE);
#endif
#define GetCurrentTime GetTickCount
WINBASEAPI BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD);
WINBASEAPI BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD);
@ -1438,7 +1435,7 @@ WINBASEAPI BOOL WINAPI GetProcessHandleCount(HANDLE,PDWORD);
#endif
WINBASEAPI HANDLE WINAPI GetProcessHeap(VOID);
WINBASEAPI DWORD WINAPI GetProcessHeaps(DWORD,PHANDLE);
#if (_WIN32_WINNT >= 0x0502)
#if (_WIN32_WINNT >= 0x0501)
WINBASEAPI DWORD WINAPI GetProcessId(HANDLE);
#endif
#if (_WIN32_WINNT >= 0x0500)