2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h (CreateFiber): Change first parameter to SIZE_T. (CreateJobObject[AW], CreateHardLink[AW]): Guard with (_WIN32_WINNT >= 0x0500). 2003-01-31 Bang Jun-Young <junyoung@netbsd.org> * include/winbase.h (PWIN32_FIND_DATAA, PWIN32_FIND_DATAW): Add missing typedefs. (CreateFiberEx, CreateJobObjectA,CreateJobObjectW): Add missing prototypes. (CreateHardLinkA, CreateHardLinkW): Return BOOL, not HANDLE.
This commit is contained in:
parent
704ce46198
commit
28c098e3f4
|
@ -1,3 +1,18 @@
|
|||
2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/winbase.h (CreateFiber): Change first parameter
|
||||
to SIZE_T.
|
||||
(CreateJobObject[AW], CreateHardLink[AW]):Guard with
|
||||
if (_WIN32_WINNT >= 0x0500).
|
||||
|
||||
2003-01-31 Bang Jun-Young <junyoung@netbsd.org>
|
||||
|
||||
* include/winbase.h (PWIN32_FIND_DATAA, PWIN32_FIND_DATAW):
|
||||
Add missing typedefs.
|
||||
(CreateFiberEx, CreateJobObjectA,CreateJobObjectW): Add missing
|
||||
prototypes.
|
||||
(CreateHardLinkA, CreateHardLinkW): Return BOOL, not HANDLE.
|
||||
|
||||
2003-01-27 Krzysztof Nikiel <kni@poczta.onet.pl>
|
||||
|
||||
* include/mmsystem.h (MIXERCONTROL_CONTROLF_MULTIPLE): Correct
|
||||
|
|
|
@ -766,7 +766,7 @@ typedef struct _WIN32_FIND_DATAA {
|
|||
DWORD dwReserved1;
|
||||
CHAR cFileName[MAX_PATH];
|
||||
CHAR cAlternateFileName[14];
|
||||
} WIN32_FIND_DATAA,*LPWIN32_FIND_DATAA;
|
||||
} WIN32_FIND_DATAA,*PWIN32_FIND_DATAA,*LPWIN32_FIND_DATAA;
|
||||
typedef struct _WIN32_FIND_DATAW {
|
||||
DWORD dwFileAttributes;
|
||||
FILETIME ftCreationTime;
|
||||
|
@ -778,7 +778,7 @@ typedef struct _WIN32_FIND_DATAW {
|
|||
DWORD dwReserved1;
|
||||
WCHAR cFileName[MAX_PATH];
|
||||
WCHAR cAlternateFileName[14];
|
||||
} WIN32_FIND_DATAW,*LPWIN32_FIND_DATAW;
|
||||
} WIN32_FIND_DATAW,*PWIN32_FIND_DATAW,*LPWIN32_FIND_DATAW;
|
||||
typedef struct _WIN32_STREAM_ID {
|
||||
DWORD dwStreamId;
|
||||
DWORD dwStreamAttributes;
|
||||
|
@ -1011,14 +1011,21 @@ BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|||
BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
||||
HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
|
||||
HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
|
||||
LPVOID WINAPI CreateFiber(DWORD,LPFIBER_START_ROUTINE,LPVOID);
|
||||
LPVOID WINAPI CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID);
|
||||
LPVOID WINAPI CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID);
|
||||
HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
||||
HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE);
|
||||
HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR);
|
||||
HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR);
|
||||
HANDLE WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
||||
HANDLE WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
BOOL WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
||||
BOOL WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
||||
#endif
|
||||
HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,DWORD,DWORD);
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
HANDLE WINAPI CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR);
|
||||
HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR);
|
||||
#endif
|
||||
HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
||||
HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES);
|
||||
HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
||||
|
@ -1623,7 +1630,10 @@ typedef HW_PROFILE_INFOW HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
|
|||
#define CreateEvent CreateEventW
|
||||
#define CreateFile CreateFileW
|
||||
#define CreateFileMapping CreateFileMappingW
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
#define CreateHardLink CreateHardLinkW
|
||||
#define CreateJobObject CreateJobObjectW
|
||||
#endif
|
||||
#define CreateMailslot CreateMailslotW
|
||||
#define CreateMutex CreateMutexW
|
||||
#define CreateNamedPipe CreateNamedPipeW
|
||||
|
@ -1761,7 +1771,10 @@ typedef HW_PROFILE_INFOA HW_PROFILE_INFO,*LPHW_PROFILE_INFO;
|
|||
#define CreateEvent CreateEventA
|
||||
#define CreateFile CreateFileA
|
||||
#define CreateFileMapping CreateFileMappingA
|
||||
#if (_WIN32_WINNT >= 0x0500)
|
||||
#define CreateHardLink CreateHardLinkA
|
||||
#define CreateJobObject CreateJobObjectA
|
||||
#endif
|
||||
#define CreateMailslot CreateMailslotA
|
||||
#define CreateMutex CreateMutexA
|
||||
#define CreateNamedPipe CreateNamedPipeA
|
||||
|
|
Loading…
Reference in New Issue