mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 07:14:04 +00:00
- 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:
parent
8859463623
commit
45d84c9668
3 changed files with 8 additions and 2 deletions
|
@ -63,7 +63,7 @@ extern POBJECT_TYPE NTSYSAPI ExTimerType;
|
|||
//
|
||||
// Exported NT Build Number
|
||||
//
|
||||
extern ULONG NTSYSAPI NtBuildNumber;
|
||||
extern ULONG NtBuildNumber;
|
||||
|
||||
//
|
||||
// Invalid Handle Value Constant
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue