|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <ntdef.h>#include <ntifs.h>
Go to the source code of this file.
Functions | |
| NTKRNLVISTAAPI NTSTATUS NTAPI | PoRegisterPowerSettingCallback (_In_opt_ PDEVICE_OBJECT DeviceObject, _In_ LPCGUID SettingGuid, _In_ PPOWER_SETTING_CALLBACK Callback, _In_opt_ PVOID Context, _Outptr_opt_ PVOID *Handle) |
| _IRQL_requires_max_ (APC_LEVEL) | |
| Probes and locks virtual pages in memory for the specified process. | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) | |
| _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 24 of file po.c.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
| NTKRNLVISTAAPI NTSTATUS NTAPI PoRegisterPowerSettingCallback | ( | _In_opt_ PDEVICE_OBJECT | DeviceObject, |
| _In_ LPCGUID | SettingGuid, | ||
| _In_ PPOWER_SETTING_CALLBACK | Callback, | ||
| _In_opt_ PVOID | Context, | ||
| _Outptr_opt_ PVOID * | Handle | ||
| ) |
Definition at line 14 of file po.c.
Referenced by ClasspEnableIdlePower(), and ClasspInitializePolling().