ReactOS 0.4.16-dev-973-g9a0ff8b
|
Go to the source code of this file.
Classes | |
union | _POWER_STATE |
struct | BATTERY_REPORTING_SCALE |
struct | _PROCESSOR_IDLE_TIMES |
struct | _PROCESSOR_IDLE_HANDLER_INFO |
struct | _PROCESSOR_STATE_HANDLER |
struct | _POWER_STATE_HANDLER |
struct | _POWER_STATE_NOTIFY_HANDLER |
struct | _PROCESSOR_PERF_LEVEL |
struct | _PROCESSOR_PERF_STATE |
struct | _PROCESSOR_STATE_HANDLER2 |
struct | _SYSTEM_POWER_INFORMATION |
struct | SYSTEM_POWER_CAPABILITIES |
struct | SYSTEM_BATTERY_STATE |
struct | _PROCESSOR_POWER_INFORMATION |
struct | _POWER_ACTION_POLICY |
Variables | |
_Inout_ PPROCESSOR_IDLE_TIMES | IdleTimes |
_In_opt_ PENTER_STATE_SYSTEM_HANDLER | SystemHandler |
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID | SystemContext |
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG | NumberProcessors |
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * | Number |
_In_ PVOID | Context |
_In_ PVOID _In_ BOOLEAN | Entering |
_In_ ULONG | InputBufferLength |
_In_ ULONG _In_ ULONG | OutputBufferLength |
_Out_ EXECUTION_STATE * | PreviousFlags |
_In_ SYSTEM_POWER_STATE | MinSystemState |
_In_ SYSTEM_POWER_STATE _In_ ULONG | Flags |
_In_ SYSTEM_POWER_STATE _In_ ULONG _In_ BOOLEAN | Asynchronous |
_Out_ DEVICE_POWER_STATE * | State |
#define PERCENT_TO_PERF_LEVEL | ( | x | ) | (((x) * POWER_PERF_SCALE * 10) / 1000) |
#define PERF_LEVEL_TO_PERCENT | ( | x | ) | (((x) * 1000) / (POWER_PERF_SCALE * 10)) |
#define POWER_SYSTEM_MAXIMUM PowerSystemMaximum |
typedef enum _DEVICE_POWER_STATE * PDEVICE_POWER_STATE |
typedef union _POWER_STATE POWER_STATE |
typedef enum _POWER_STATE_TYPE POWER_STATE_TYPE |
typedef enum POWER_ACTION * PPOWER_ACTION |
typedef struct _POWER_ACTION_POLICY * PPOWER_ACTION_POLICY |
typedef union _POWER_STATE * PPOWER_STATE |
typedef struct _POWER_STATE_HANDLER * PPOWER_STATE_HANDLER |
typedef enum _POWER_STATE_TYPE * PPOWER_STATE_TYPE |
typedef struct _PROCESSOR_IDLE_TIMES * PPROCESSOR_IDLE_TIMES |
typedef struct _PROCESSOR_PERF_LEVEL * PPROCESSOR_PERF_LEVEL |
typedef struct _PROCESSOR_PERF_STATE * PPROCESSOR_PERF_STATE |
typedef struct SYSTEM_BATTERY_STATE * PSYSTEM_BATTERY_STATE |
typedef enum _SYSTEM_POWER_STATE * PSYSTEM_POWER_STATE |
Definition at line 47 of file ntpoapi.h.
Definition at line 66 of file ntpoapi.h.
Enumerator | |
---|---|
PowerStateSleeping1 | |
PowerStateSleeping2 | |
PowerStateSleeping3 | |
PowerStateSleeping4 | |
PowerStateSleeping4Firmware | |
PowerStateShutdownReset | |
PowerStateShutdownOff | |
PowerStateMaximum |
Definition at line 182 of file ntpoapi.h.
Enumerator | |
---|---|
SystemPowerState | |
DevicePowerState | |
SystemPowerState | |
DevicePowerState |
Definition at line 61 of file ntpoapi.h.
Definition at line 34 of file ntpoapi.h.
Definition at line 122 of file ntpoapi.h.
_Function_class_ | ( | ENTER_STATE_HANDLER | ) |
_Function_class_ | ( | ENTER_STATE_NOTIFY_HANDLER | ) |
_Function_class_ | ( | ENTER_STATE_SYSTEM_HANDLER | ) |
_Function_class_ | ( | PROCESSOR_IDLE_HANDLER | ) |
_In_reads_bytes_opt_ | ( | InputBufferLength | ) |
_IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
[in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
[in] | Process | The process for which the buffer should be probed and locked. |
[in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
[in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
[in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
[in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
[in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 37 of file cddata.c.
_IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
[in] | SecurityInformation | Security information details to be queried from a security descriptor. |
[out] | SecurityDescriptor | The returned security descriptor with security information data. |
[in,out] | Length | The returned length of a security descriptor. |
[in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
[in] | SecurityDescriptor | A security descriptor to be freed from memory. |
[in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | ObjectType | The type of the new object. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
[in] | SecurityDescriptor | A security descriptor. |
[out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Definition at line 923 of file Messaging.c.
_In_ ULONG _Out_writes_bytes_opt_ | ( | OutputBufferLength | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtCancelDeviceWakeupRequest | ( | _In_ HANDLE | Device | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtRequestDeviceWakeup | ( | _In_ HANDLE | Device | ) |
NTSYSCALLAPI NTSTATUS NTAPI NtRequestWakeupLatency | ( | _In_ LATENCY_TIME | latency | ) |
_Out_ PTRANSACTION_NOTIFICATION _In_ ULONG _In_ PLARGE_INTEGER _Out_opt_ PULONG _In_ ULONG Asynchronous |
Definition at line 305 of file ntpoapi.h.
Referenced by DECLARE_INTERFACE_(), IKsProcessingObject_fnProcess(), KsFilterAttemptProcessing(), and NtNotifyChangeKey().
_Inout_ PPROCESSOR_IDLE_TIMES IdleTimes |
_In_ SYSTEM_POWER_STATE MinSystemState |
Definition at line 303 of file ntpoapi.h.
Referenced by NtSetSystemPowerState().
Definition at line 207 of file ntpoapi.h.
Referenced by $endif(), AcpiUtFormatNumber(), AcpiUtPrintNumber(), AcpiUtPutNumber(), AcpiUtScanNumber(), AddCommas(), CcRemapBcb(), CcRepinBcb(), CmpDoFindSubKeyByNumber(), CmpFindSubKeyByNumber(), CDFParser::DoCabinetName(), CDFParser::DoDiskLabel(), CDFParser::DoMaxDiskSize(), DumpBTreeKey(), DumpBTreeNode(), Ext2AddBlockExtent(), Ext2BlockMap(), Ext2DoExtentExpand(), Ext2ExpandBlock(), Ext2ExpandExtent(), Ext2ExpandLast(), Ext2FirstUnusedMcb(), Ext2FreeBlock(), Ext2GetBlock(), Ext2MapExtent(), Ext2MapIndirect(), Ext2NewBlock(), Ext2RemoveBlockExtent(), Ext2TruncateBlock(), FAST486_OPCODE_HANDLER(), Fast486GetIntVector(), Fast486PerformInterrupt(), FindMUIEntriesOfPage(), GetDigitCount(), CDFParser::GetDiskName(), CDFParser::GetDiskNumber(), GetHandle(), HalpLookupHandler(), HalpRegisterInternalBusHandlers(), hGetPEBHandle(), IsPowerOf2(), KdpGetContext(), KdpSetContext(), KeAddSystemServiceTable(), KeConnectInterrupt(), KeFindNextRightSetAffinity(), KeGetCurrentProcessorNumber(), KeSetTargetProcessorDpc(), KiInitializeKernel(), KiInitSpinLocks(), KiScanReadyQueues(), KiSystemService(), MUIGetString(), CDFParser::OnCabinetName(), CDFParser::OnDiskLabel(), ParseNumber(), ParseRedirection(), CDFParser::PerformSetCommand(), PicInterruptRequest(), PrintNum(), RtlGetCallersAddress(), CDFParser::SetDiskName(), CDFParser::SetDiskNumber(), SetHandle(), START_TEST(), test_query_processor_power_info(), VbeGetModeByNumber(), vsnprintf(), VTUTF8ChannelConsumeEscapeSequence(), VTUTF8ChannelScanForNumber(), and WSAAsyncGetProtoByNumber().
_Out_ EXECUTION_STATE* PreviousFlags |
Definition at line 288 of file ntpoapi.h.
Referenced by NtSetThreadExecutionState().