msvcr120: Implement more C99 math functions.
[wine.git] / include / bcrypt.h
blobd9b8cc642c98d75b8c22b3a9ec6d608ecf892fb9
1 /*
2 * Copyright (C) 2007 Francois Gouget
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_BCRYPT_H
20 #define __WINE_BCRYPT_H
22 #ifndef WINAPI
23 #define WINAPI __stdcall
24 #endif
26 #ifndef IN
27 #define IN
28 #endif
30 #ifndef OUT
31 #define OUT
32 #endif
34 #ifndef OPTIONAL
35 #define OPTIONAL
36 #endif
38 #ifndef WINE_NTSTATUS_DECLARED
39 #define WINE_NTSTATUS_DECLARED
40 typedef LONG NTSTATUS;
41 #endif
43 typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
45 LPWSTR pszName;
46 ULONG dwClass;
47 ULONG dwFlags;
48 } BCRYPT_ALGORITHM_IDENTIFIER;
50 typedef PVOID BCRYPT_ALG_HANDLE;
51 typedef PVOID BCRYPT_HANDLE;
53 #define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
54 #define BCRYPT_USE_SYSTEM_PREFERRED_RNG 0x00000002
56 #endif /* __WINE_BCRYPT_H */