boostorg / winapi

Windows API declarations without <windows.h>, for internal Boost use.
62 stars 58 forks source link

ADD Create*Ex SUPPORT FOR SYNCHRONIZATION PRIMITIVES #5

Closed BurningEnlightenment closed 9 years ago

BurningEnlightenment commented 9 years ago

Add CreateMutexEx, CreateSemaphoreEx and CreateEventEx function declarations and define related symbols.

Force the related API wrapper to use the new APIs when compiling for the Windows Runtime platform.

BurningEnlightenment commented 9 years ago

I removed the BOOST_NO_ANSI_APIS differentiation where we pass null pointers instead of (user supplied) string pointers, because it doesn't make any difference (except for removing some negligible overhead). Sorry for recreating the request (original #4).

Lastique commented 9 years ago

Committed a slightly modified and fixed version of your change.