- Guard some current cmlib includes against new cm branch

- Remove NTSYSAPI from NtBuildNumber definition in NDK.

svn path=/trunk/; revision=24416
This commit is contained in:
Alex Ionescu
2006-10-05 23:01:38 +00:00
parent 8859463623
commit 45d84c9668
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ extern POBJECT_TYPE NTSYSAPI ExTimerType;
//
// Exported NT Build Number
//
extern ULONG NTSYSAPI NtBuildNumber;
extern ULONG NtBuildNumber;
//
// Invalid Handle Value Constant
+4
View File
@@ -18,6 +18,8 @@
#define REG_VALUE_CELL_ID 0x6b76
#define REG_SECURITY_CELL_ID 0x6b73
#ifndef _CM_
#include <pshpack1.h>
typedef struct _CM_VIEW_OF_FILE
@@ -147,4 +149,6 @@ typedef struct _CM_KEY_SECURITY
#include <poppack.h>
#endif
#endif /* CMLIB_CMDATA_H */
+3 -1
View File
@@ -64,7 +64,7 @@ typedef struct _HMAP_ENTRY
{
ULONG_PTR Bin;
ULONG_PTR Block;
PCM_VIEW_OF_FILE CmHive;
struct _CM_VIEW_OF_FILE *CmHive;
ULONG MemAlloc;
} HMAP_ENTRY, *PHMAP_ENTRY;
@@ -118,6 +118,7 @@ typedef struct _HHIVE
DUAL Storage[HvMaxStorageType];
} HHIVE, *PHHIVE;
#ifndef _CM_
typedef struct _EREGISTRY_HIVE
{
HHIVE Hive;
@@ -129,6 +130,7 @@ typedef struct _EREGISTRY_HIVE
HANDLE HiveHandle;
HANDLE LogHandle;
} EREGISTRY_HIVE, *PEREGISTRY_HIVE;
#endif
/*
* Public functions.