2
0
mirror of https://github.com/boostorg/winapi.git synced 2026-02-22 03:52:15 +00:00
Commit Graph

144 Commits

Author SHA1 Message Date
Ion Gaztañaga
5272ee7ac3 Pragma message is only available for GCC > 4.3 2016-08-09 00:11:10 +02:00
Andrey Semashev
8a1c94ae26 Removed WAIT_TIMEOUT_ as it duplicates the constant in wait.hpp. 2016-07-18 02:55:35 +03:00
Andrey Semashev
b1f1e5d6fd Added a header with Windows error codes. 2016-07-16 22:02:15 +03:00
Andrey Semashev
b31a496273 Added OpenProcess function and access rights constants. 2016-07-16 21:00:41 +03:00
Andrey Semashev
0fe7a608d4 Added job management APIs. 2016-07-16 20:43:52 +03:00
Andrey Semashev
c4329b8574 Fixed formatting, added comments, removed unused include. 2016-07-16 20:25:14 +03:00
Andrey Semashev
3f92fc8cb6 Merge pull request #29 from klemens-morgenstern/environment
added environment functions
2016-07-16 20:15:40 +03:00
Andrey Semashev
75f6eaf107 Added CompareObjectHandles function (Windows 10). 2016-07-16 20:10:22 +03:00
Andrey Semashev
f2887c28be Remove slashes from the test names. 2016-07-11 15:39:39 +03:00
Andrey Semashev
8b86729653 Merge pull request #33 from danieljames/mark-hidden
Mark library as hidden
2016-07-05 11:01:16 +03:00
Daniel James
72921dd730 Mark library as hidden 2016-07-04 23:24:26 +01:00
klemens-morgenstern
ee8731f988 added environment functions 2016-06-19 22:38:14 +02:00
Andrey Semashev
f62492eb1a Added library documentation. 2016-06-19 19:53:04 +03:00
Andrey Semashev
2cad0b1c15 Added library meta. 2016-06-19 19:52:31 +03:00
Andrey Semashev
0a45ad46d0 Added ReadFile declaration. 2016-05-29 19:38:32 +03:00
Andrey Semashev
5aa4401595 Merge branch 'develop' boost-1.61.0 2016-03-07 21:03:00 +03:00
Andrey Semashev
6d6041085a Merge branch 'master' of github.com:boostorg/winapi 2016-03-07 21:02:27 +03:00
Andrey Semashev
8a7c2890f1 Merge branch 'develop' of github.com:boostorg/winapi into develop 2016-03-07 21:02:08 +03:00
Andrey Semashev
7ce91eab22 Added the WC_ERR_INVALID_CHARS constant. 2016-03-07 21:01:27 +03:00
Andrey Semashev
180341cddf Merge pull request #24 from jlodos/bug/prevent-msvc-warning
Prevent warning "nonstandard extension used : nameless struct/union" in MSVC
2016-03-01 08:01:59 +03:00
Jorge Lodos
f2f7b93528 Prevent warning "nonstandard extension used : nameless struct/union" in MSVC 2016-02-29 19:00:09 -06:00
Andrey Semashev
bafd4a1f5d Merge pull request #23 from jlodos/bug/gcc-compile-problem
GCC compile error
2016-02-27 23:20:23 +03:00
Jorge Lodos
2b79eb53b3 GCC complains with:
....../boost/detail/winapi/error_handling.hpp:97:46: warning: conversion to 'boost::detail::winapi::WORD_ {aka short unsigned int}' from 'int' may alter its value [-Wconversion]
2016-02-23 17:13:21 -06:00
Andrey Semashev
0f17094a79 Minor fix for AreFileApisANSI function declaration. 2016-02-22 22:44:51 +03:00
Andrey Semashev
4260a662d2 Merge remote-tracking branch 'jlodos/feature/add-AreFileApisANSI' into develop 2016-02-22 22:39:10 +03:00
Andrey Semashev
9e07973e31 Added some access permission flags for semaphores, events and file mappings. 2016-02-22 22:37:59 +03:00
Jorge Lodos
80cefbc39a Adding AreFileApisANSI 2016-02-18 20:42:04 -06:00
Andrey Semashev
4ccb77aab2 Fixed missing includes. Added missing constants and support for older Windows SDKs and MinGW. 2016-02-14 19:09:19 +03:00
Jorge Lodos
fc32850225 Support for dbghelp 2016-02-14 19:09:19 +03:00
Andrey Semashev
2905041e65 Added declaration of MapViewOfFile. 2016-02-14 19:08:49 +03:00
Andrey Semashev
15eaf20041 Fixed CreateFileMapping signature. 2016-02-14 16:05:26 +03:00
Andrey Semashev
394ce3e20f Extracted page protection flags to a separate header as they can be used with APIs other than file mapping. Fixed compilation with MinGW, MinGW-w64 and older Windows SDKs. 2016-02-14 03:59:32 +03:00
Andrey Semashev
9b8f6ac721 Merge remote-tracking branch 'jlodos/feature/file-constants-and-functions' into develop 2016-02-14 03:10:08 +03:00
Jorge Lodos
9ee49e1d1b Fix incorrect return value 2016-02-13 17:57:22 -06:00
Jorge Lodos
dbb0b56f0f Removing separated constant files 2016-02-13 14:28:00 -06:00
Andrey Semashev
067deb7267 Added character code conversion functions. 2016-02-13 21:22:42 +03:00
Jorge Lodos
2801e2ce9f New functions 2016-02-12 16:23:32 -06:00
Jorge Lodos
480fd8c6e9 New constants 2016-02-12 16:21:17 -06:00
Andrey Semashev
74a16ae6d8 Fixed compilation on MinGW and MSVC 8. 2016-01-31 20:14:45 +03:00
Andrey Semashev
3c20e186cd Added process management, pipe and some shell APIs.
Renamed headers that are named after Windows SDK functions to the lower_case_with_underscores equivalents. The old headers are kept for backward compatibility with deprecation warnings. The reason for the change is that the previous naming scheme was vulnerable to function macros defined by Windows SDK - some include directives could be broken. Further additions would be complicated; this has been discovered with GetSystemDirectory.hpp.

Extracted MAX_PATH and a few other common constants to a new header limits.hpp. This header should contain generally useful constants. Extracted OVERLAPPED to a separate header.

Process and thread id accessor functions extracted to separate headers.

Added priority class constants and setter/getter functions. Added handle info accessors. Added ShowWindow and related constants.

The original patch for this commit was provided in https://github.com/boostorg/winapi/pull/16.
2016-01-31 19:27:58 +03:00
Andrey Semashev
1b8d36f330 Yet more access right constants. 2016-01-23 17:36:35 +03:00
Andrey Semashev
9af6e9e11b Added more access right constants. 2016-01-23 17:00:07 +03:00
Marcel Raad
77dbce88b4 Fix compilation with WIN32_LEAN_AND_MEAN
If WIN32_LEAN_AND_MEAN is defined, wincrypt.h is not included in windows.h.
Always explicitly including wincrypt.h when BOOST_USE_WINDOWS_H is defined
doesn't hurt anyway, as this is where the functions used here are defined.
2016-01-13 16:53:58 +01:00
Andrey Semashev
463842aa4a Added a workaround for missing TryAcquireSRWLock* functions in Windows SDK 6.0A. 2015-12-20 21:55:25 +03:00
Andrey Semashev
784aaccf09 Move inclusion of Boost.Config to the end of the header so that it can't accidentally set Windows API version. 2015-12-20 20:38:23 +03:00
Andrey Semashev
196b86aa8d Added BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_INIT macro. 2015-12-20 16:22:40 +03:00
Andrey Semashev
27b1ac8139 Added workarounds for GetProcAddress being a macro on Windows CE. It also accepts function names as LPCWSTR instead of LPCSTR. The workaround is to use winapi::get_proc_address instead of GetProcAddress everywhere. 2015-12-20 15:40:13 +03:00
Andrey Semashev
9ecf1c1b17 Update dll.hpp with WinAPI declarations required by Boost.DLL library. boost-1.60.0 2015-10-28 22:16:43 +03:00
Andrey Semashev
5219596a72 Trim trailing spaces. 2015-10-06 22:48:19 +03:00
Andrey Semashev
1d01c418fc Added Windows API version macros for Windows 10. 2015-10-06 22:25:50 +03:00