bcrypt: Add a skeleton bcrypt.h header and use it.

This commit is contained in:
Francois Gouget 2007-08-31 02:31:09 +02:00 committed by Alexandre Julliard
parent 6d1f931615
commit 5fcce569ce
3 changed files with 45 additions and 1 deletions

View File

@ -78,6 +78,7 @@ SRCDIR_INCLUDES = \
axextend.idl \
basetsd.h \
basetyps.h \
bcrypt.h \
cderr.h \
cfgmgr32.h \
cguid.h \

43
include/bcrypt.h Normal file
View File

@ -0,0 +1,43 @@
/*
* Copyright (C) 2007 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_BCRYPT_H
#define __WINE_BCRYPT_H
#ifndef WINAPI
#define WINAPI __stdcall
#endif
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif
#ifndef WINE_NTSTATUS_DECLARED
#define WINE_NTSTATUS_DECLARED
typedef LONG NTSTATUS;
#endif
#endif /* __WINE_BCRYPT_H */

View File

@ -24,7 +24,7 @@
extern "C" {
#endif
/* FIXME: #include <bcrypt.h> */
#include <bcrypt.h>
/* FIXME: #include <ncrypt.h> */
/* some typedefs for function parameters */