mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
fix build...sigh...sorry, my ntoskrnl builds with NDK
svn path=/trunk/; revision=16237
This commit is contained in:
parent
ad71bcda91
commit
f8707b368d
5 changed files with 30 additions and 48 deletions
|
@ -173,7 +173,7 @@ NtGetPlugPlayEvent(
|
||||||
PPLUGPLAY_EVENT_BLOCK Buffer,
|
PPLUGPLAY_EVENT_BLOCK Buffer,
|
||||||
ULONG BufferSize);
|
ULONG BufferSize);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NtPlugPlayControl
|
* NtPlugPlayControl
|
||||||
*
|
*
|
||||||
|
|
|
@ -13,18 +13,12 @@
|
||||||
#ifndef __INCLUDE_PORT_H
|
#ifndef __INCLUDE_PORT_H
|
||||||
#define __INCLUDE_PORT_H
|
#define __INCLUDE_PORT_H
|
||||||
|
|
||||||
#ifndef __USE_W32API
|
|
||||||
|
|
||||||
/* Port Object Access */
|
/* Port Object Access */
|
||||||
|
|
||||||
#define PORT_ALL_ACCESS (0x1)
|
#define PORT_ALL_ACCESS (0x1)
|
||||||
|
|
||||||
#else /* __USE_W32API */
|
|
||||||
|
|
||||||
#include <ddk/ntifs.h>
|
#include <ddk/ntifs.h>
|
||||||
|
|
||||||
#endif /* __USE_W32API */
|
|
||||||
|
|
||||||
#endif /* __INCLUDE_PORT_H */
|
#endif /* __INCLUDE_PORT_H */
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -6464,6 +6464,24 @@ typedef struct _SECTION_IMAGE_INFORMATION
|
||||||
|
|
||||||
#endif /* !__USE_W32API */
|
#endif /* !__USE_W32API */
|
||||||
|
|
||||||
|
struct _PLUGPLAY_EVENT_BLOCK;
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
NtGetPlugPlayEvent(
|
||||||
|
ULONG Reserved1,
|
||||||
|
ULONG Reserved2,
|
||||||
|
struct _PLUGPLAY_EVENT_BLOCK *Buffer,
|
||||||
|
ULONG BufferSize
|
||||||
|
);
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
STDCALL
|
||||||
|
NtPlugPlayControl(
|
||||||
|
ULONG ControlCode,
|
||||||
|
PVOID Buffer,
|
||||||
|
ULONG BufferSize
|
||||||
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FUNCTION: Loads a registry key.
|
* FUNCTION: Loads a registry key.
|
||||||
* ARGUMENTS:
|
* ARGUMENTS:
|
||||||
|
|
|
@ -45,7 +45,7 @@ FsRtlAddMcbEntry (IN PMCB Mcb,
|
||||||
IN LBN Lbn,
|
IN LBN Lbn,
|
||||||
IN ULONG SectorCount)
|
IN ULONG SectorCount)
|
||||||
{
|
{
|
||||||
return FsRtlAddLargeMcbEntry(& Mcb->LargeMcb,
|
return FsRtlAddLargeMcbEntry(& Mcb->DummyFieldThatSizesThisStructureCorrectly,
|
||||||
(LONGLONG) Vbn,
|
(LONGLONG) Vbn,
|
||||||
(LONGLONG) Lbn,
|
(LONGLONG) Lbn,
|
||||||
(LONGLONG) SectorCount);
|
(LONGLONG) SectorCount);
|
||||||
|
@ -82,7 +82,7 @@ FsRtlGetNextMcbEntry (IN PMCB Mcb,
|
||||||
LONGLONG llSectorCount;
|
LONGLONG llSectorCount;
|
||||||
|
|
||||||
/* Call the Large version */
|
/* Call the Large version */
|
||||||
Return = FsRtlGetNextLargeMcbEntry(&Mcb->LargeMcb,
|
Return = FsRtlGetNextLargeMcbEntry(&Mcb->DummyFieldThatSizesThisStructureCorrectly,
|
||||||
RunIndex,
|
RunIndex,
|
||||||
&llVbn,
|
&llVbn,
|
||||||
&llLbn,
|
&llLbn,
|
||||||
|
@ -106,7 +106,7 @@ FsRtlInitializeLargeMcb(IN PLARGE_MCB Mcb,
|
||||||
IN POOL_TYPE PoolType)
|
IN POOL_TYPE PoolType)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
Mcb->PoolType = PoolType;
|
Mcb->BaseMcb.PoolType = PoolType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -117,7 +117,7 @@ VOID STDCALL
|
||||||
FsRtlInitializeMcb (IN PMCB Mcb,
|
FsRtlInitializeMcb (IN PMCB Mcb,
|
||||||
IN POOL_TYPE PoolType)
|
IN POOL_TYPE PoolType)
|
||||||
{
|
{
|
||||||
FsRtlInitializeLargeMcb(& Mcb->LargeMcb, PoolType);
|
FsRtlInitializeLargeMcb(& Mcb->DummyFieldThatSizesThisStructureCorrectly, PoolType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ FsRtlLookupLastMcbEntry(IN PMCB Mcb,
|
||||||
LONGLONG llLbn;
|
LONGLONG llLbn;
|
||||||
|
|
||||||
/* Call the Large version */
|
/* Call the Large version */
|
||||||
Return = FsRtlLookupLastLargeMcbEntry(&Mcb->LargeMcb,
|
Return = FsRtlLookupLastLargeMcbEntry(&Mcb->DummyFieldThatSizesThisStructureCorrectly,
|
||||||
&llVbn,
|
&llVbn,
|
||||||
&llLbn);
|
&llLbn);
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ FsRtlLookupMcbEntry(IN PMCB Mcb,
|
||||||
LONGLONG llSectorCount;
|
LONGLONG llSectorCount;
|
||||||
|
|
||||||
/* Call the Large version */
|
/* Call the Large version */
|
||||||
Return = FsRtlLookupLargeMcbEntry(&Mcb->LargeMcb,
|
Return = FsRtlLookupLargeMcbEntry(&Mcb->DummyFieldThatSizesThisStructureCorrectly,
|
||||||
(LONGLONG)Vbn,
|
(LONGLONG)Vbn,
|
||||||
&llLbn,
|
&llLbn,
|
||||||
&llSectorCount,
|
&llSectorCount,
|
||||||
|
@ -262,7 +262,7 @@ FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb)
|
||||||
{
|
{
|
||||||
ULONG NumberOfRuns;
|
ULONG NumberOfRuns;
|
||||||
ExAcquireFastMutex (Mcb->FastMutex);
|
ExAcquireFastMutex (Mcb->FastMutex);
|
||||||
NumberOfRuns=Mcb->PairCount;
|
NumberOfRuns=Mcb->BaseMcb.MaximumPairCount;
|
||||||
ExReleaseFastMutex (Mcb->FastMutex);
|
ExReleaseFastMutex (Mcb->FastMutex);
|
||||||
return(NumberOfRuns);
|
return(NumberOfRuns);
|
||||||
}
|
}
|
||||||
|
@ -276,7 +276,7 @@ FsRtlNumberOfRunsInLargeMcb(IN PLARGE_MCB Mcb)
|
||||||
ULONG STDCALL
|
ULONG STDCALL
|
||||||
FsRtlNumberOfRunsInMcb (IN PMCB Mcb)
|
FsRtlNumberOfRunsInMcb (IN PMCB Mcb)
|
||||||
{
|
{
|
||||||
return FsRtlNumberOfRunsInLargeMcb(& Mcb->LargeMcb);
|
return FsRtlNumberOfRunsInLargeMcb(& Mcb->DummyFieldThatSizesThisStructureCorrectly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -301,7 +301,7 @@ FsRtlRemoveMcbEntry (IN PMCB Mcb,
|
||||||
IN ULONG SectorCount)
|
IN ULONG SectorCount)
|
||||||
{
|
{
|
||||||
/* Call the large function */
|
/* Call the large function */
|
||||||
return FsRtlRemoveLargeMcbEntry(&Mcb->LargeMcb,
|
return FsRtlRemoveLargeMcbEntry(&Mcb->DummyFieldThatSizesThisStructureCorrectly,
|
||||||
(LONGLONG)Vbn,
|
(LONGLONG)Vbn,
|
||||||
(LONGLONG)SectorCount);
|
(LONGLONG)SectorCount);
|
||||||
}
|
}
|
||||||
|
@ -353,7 +353,7 @@ VOID STDCALL
|
||||||
FsRtlTruncateMcb (IN PMCB Mcb,
|
FsRtlTruncateMcb (IN PMCB Mcb,
|
||||||
IN VBN Vbn)
|
IN VBN Vbn)
|
||||||
{
|
{
|
||||||
FsRtlTruncateLargeMcb (& Mcb->LargeMcb, (LONGLONG) Vbn);
|
FsRtlTruncateLargeMcb (& Mcb->DummyFieldThatSizesThisStructureCorrectly, (LONGLONG) Vbn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -374,7 +374,7 @@ FsRtlUninitializeLargeMcb(IN PLARGE_MCB Mcb)
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
FsRtlUninitializeMcb (IN PMCB Mcb)
|
FsRtlUninitializeMcb (IN PMCB Mcb)
|
||||||
{
|
{
|
||||||
FsRtlUninitializeLargeMcb(& Mcb->LargeMcb);
|
FsRtlUninitializeLargeMcb(& Mcb->DummyFieldThatSizesThisStructureCorrectly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -248,20 +248,6 @@ typedef struct _SYSTEM_TIME_OF_DAY_INFORMATION {
|
||||||
ULONG CurrentTimeZoneId;
|
ULONG CurrentTimeZoneId;
|
||||||
} SYSTEM_TIME_OF_DAY_INFORMATION, *PSYSTEM_TIME_OF_DAY_INFORMATION;
|
} SYSTEM_TIME_OF_DAY_INFORMATION, *PSYSTEM_TIME_OF_DAY_INFORMATION;
|
||||||
|
|
||||||
typedef struct _VM_COUNTERS {
|
|
||||||
ULONG PeakVirtualSize;
|
|
||||||
ULONG VirtualSize;
|
|
||||||
ULONG PageFaultCount;
|
|
||||||
ULONG PeakWorkingSetSize;
|
|
||||||
ULONG WorkingSetSize;
|
|
||||||
ULONG QuotaPeakPagedPoolUsage;
|
|
||||||
ULONG QuotaPagedPoolUsage;
|
|
||||||
ULONG QuotaPeakNonPagedPoolUsage;
|
|
||||||
ULONG QuotaNonPagedPoolUsage;
|
|
||||||
ULONG PagefileUsage;
|
|
||||||
ULONG PeakPagefileUsage;
|
|
||||||
} VM_COUNTERS, *PVM_COUNTERS;
|
|
||||||
|
|
||||||
typedef enum _THREAD_STATE {
|
typedef enum _THREAD_STATE {
|
||||||
Initialized,
|
Initialized,
|
||||||
Ready,
|
Ready,
|
||||||
|
@ -1486,22 +1472,6 @@ typedef struct _PROCESS_ACCESS_TOKEN {
|
||||||
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
|
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
|
||||||
#define SEM_NOOPENFILEERRORBOX 0x8000
|
#define SEM_NOOPENFILEERRORBOX 0x8000
|
||||||
/* end winbase.h */
|
/* end winbase.h */
|
||||||
typedef struct _POOLED_USAGE_AND_LIMITS {
|
|
||||||
ULONG PeakPagedPoolUsage;
|
|
||||||
ULONG PagedPoolUsage;
|
|
||||||
ULONG PagedPoolLimit;
|
|
||||||
ULONG PeakNonPagedPoolUsage;
|
|
||||||
ULONG NonPagedPoolUsage;
|
|
||||||
ULONG NonPagedPoolLimit;
|
|
||||||
ULONG PeakPagefileUsage;
|
|
||||||
ULONG PagefileUsage;
|
|
||||||
ULONG PagefileLimit;
|
|
||||||
} POOLED_USAGE_AND_LIMITS, *PPOOLED_USAGE_AND_LIMITS;
|
|
||||||
|
|
||||||
typedef struct _PROCESS_WS_WATCH_INFORMATION {
|
|
||||||
PVOID FaultingPc;
|
|
||||||
PVOID FaultingVa;
|
|
||||||
} PROCESS_WS_WATCH_INFORMATION, *PPROCESS_WS_WATCH_INFORMATION;
|
|
||||||
|
|
||||||
/* PROCESS_PRIORITY_CLASS.PriorityClass constants */
|
/* PROCESS_PRIORITY_CLASS.PriorityClass constants */
|
||||||
#define PC_IDLE 1
|
#define PC_IDLE 1
|
||||||
|
|
Loading…
Reference in a new issue