mingw-w64/mingw-w64-libraries/winstorecompat/COPYING
Rafaël Carré 6832c63c9c libwinstorecompat: new library to help porting to Windows Store
This library can be linked to code targetting Windows Store.
Functions that are not available anymore for Windows Store are redefined,
using similar functions that are allowed.
'Forbidden' functions can be found either by browsing MSDN, either by
running WACK (Windows Application Certification Kit) on the application.

For now the only symbol redefined is CreateEventW() but others will follow.

Note: this library has no headers, since we don't add new functions but only
redefine existing ones.

For this to work, -lwinstorecompat should appear on the linking cmdline after
object files using it, but before any library defining the same symbols.
In this case: -lkernel32

So: gcc -shared -o foo.dll foo.o -lwinstorecompat -lkernel32
should work.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5542 4407c894-4637-0410-b4f5-ada5f102cad1
2013-01-16 21:37:01 +00:00

22 lines
1.1 KiB
Plaintext

Copyright (c) 2013 mingw-w64 project
Contributing authors: Rafaël Carré
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.