[PSDK] and [NDK]

- Since NTSTATUS definition is returned into bcrypt.h, then let's define PNTSTATUS too. Otherwise it makes no sense and errors out.
- Handle BCRYPT_H and __WINE_BCRYPT_H in ndk/umtypes.h. Thomas said that BCRYPT_H is not an option - but our NDK should be compatible with ReactOS PSDK too. If I am wrong, please feel free to change __WINE_BCRYPT_H to BCRYPT_H in psdk/bcrypt.h, fix related probelms and revert my change. Thanks!

svn path=/trunk/; revision=64713
This commit is contained in:
Aleksey Bragin 2014-10-13 10:53:58 +00:00
parent 43cbfe8aea
commit 3ed526868f
2 changed files with 2 additions and 1 deletions

View file

@ -129,7 +129,7 @@ typedef LONG KPRIORITY;
//
#if !defined(_NTSECAPI_H) && !defined(_SUBAUTH_H) && !defined(_NTSECAPI_)
#ifndef __BCRYPT_H__
#if !defined(__BCRYPT_H__) && !defined(__WINE_BCRYPT_H)
typedef _Return_type_success_(return >= 0) long NTSTATUS, *PNTSTATUS;
#endif

View file

@ -37,6 +37,7 @@
#ifndef _NTDEF_
typedef _Return_type_success_(return >= 0) LONG NTSTATUS;
typedef NTSTATUS *PNTSTATUS;
#endif
typedef struct _BCRYPT_ALGORITHM_IDENTIFIER