|
Process Hacker
|
#include <ph.h>Go to the source code of this file.
Functions | |
| VOID | PhInitializeProviderThread (_Out_ PPH_PROVIDER_THREAD ProviderThread, _In_ ULONG Interval) |
| Initializes a provider thread. | |
| VOID | PhDeleteProviderThread (_Inout_ PPH_PROVIDER_THREAD ProviderThread) |
| Frees resources used by a provider thread. | |
| NTSTATUS NTAPI | PhpProviderThreadStart (_In_ PVOID Parameter) |
| VOID | PhStartProviderThread (_Inout_ PPH_PROVIDER_THREAD ProviderThread) |
| Starts a provider thread. | |
| VOID | PhStopProviderThread (_Inout_ PPH_PROVIDER_THREAD ProviderThread) |
| Stops a provider thread. | |
| VOID | PhSetIntervalProviderThread (_Inout_ PPH_PROVIDER_THREAD ProviderThread, _In_ ULONG Interval) |
| Sets the run interval for a provider thread. | |
| VOID | PhRegisterProvider (_Inout_ PPH_PROVIDER_THREAD ProviderThread, _In_ PPH_PROVIDER_FUNCTION Function, _In_opt_ PVOID Object, _Out_ PPH_PROVIDER_REGISTRATION Registration) |
| Registers a provider with a provider thread. | |
| VOID | PhUnregisterProvider (_Inout_ PPH_PROVIDER_REGISTRATION Registration) |
| Unregisters a provider. | |
| BOOLEAN | PhBoostProvider (_Inout_ PPH_PROVIDER_REGISTRATION Registration, _Out_opt_ PULONG FutureRunId) |
| Causes a provider to be queued for immediate execution. | |
| ULONG | PhGetRunIdProvider (_In_ PPH_PROVIDER_REGISTRATION Registration) |
| Gets the current run ID of a provider. | |
| BOOLEAN | PhGetEnabledProvider (_In_ PPH_PROVIDER_REGISTRATION Registration) |
| Gets whether a provider is enabled. | |
| VOID | PhSetEnabledProvider (_Inout_ PPH_PROVIDER_REGISTRATION Registration, _In_ BOOLEAN Enabled) |
| Sets whether a provider is enabled. | |
| BOOLEAN PhBoostProvider | ( | _Inout_ PPH_PROVIDER_REGISTRATION | Registration, |
| _Out_opt_ PULONG | FutureRunId | ||
| ) |
Causes a provider to be queued for immediate execution.
| Registration | A pointer to the registration object for a provider. |
| FutureRunId | A variable which receives the run ID of the future run. |
Definition at line 410 of file provider.c.
| VOID PhDeleteProviderThread | ( | _Inout_ PPH_PROVIDER_THREAD | ProviderThread | ) |
Frees resources used by a provider thread.
| ProviderThread | A pointer to a provider thread object. |
Definition at line 87 of file provider.c.
| BOOLEAN PhGetEnabledProvider | ( | _In_ PPH_PROVIDER_REGISTRATION | Registration | ) |
Gets whether a provider is enabled.
| Registration | A pointer to the registration object for a provider. |
Definition at line 474 of file provider.c.
| ULONG PhGetRunIdProvider | ( | _In_ PPH_PROVIDER_REGISTRATION | Registration | ) |
Gets the current run ID of a provider.
| Registration | A pointer to the registration object for a provider. |
Definition at line 461 of file provider.c.
| VOID PhInitializeProviderThread | ( | _Out_ PPH_PROVIDER_THREAD | ProviderThread, |
| _In_ ULONG | Interval | ||
| ) |
Initializes a provider thread.
| ProviderThread | A pointer to a provider thread object. |
| Interval | The interval between each run, in milliseconds. |
Definition at line 59 of file provider.c.
| NTSTATUS NTAPI PhpProviderThreadStart | ( | _In_ PVOID | Parameter | ) |
Definition at line 104 of file provider.c.
| VOID PhRegisterProvider | ( | _Inout_ PPH_PROVIDER_THREAD | ProviderThread, |
| _In_ PPH_PROVIDER_FUNCTION | Function, | ||
| _In_opt_ PVOID | Object, | ||
| _Out_ PPH_PROVIDER_REGISTRATION | Registration | ||
| ) |
Registers a provider with a provider thread.
| ProviderThread | A pointer to a provider thread object. |
| Function | The provider function. |
| Object | A pointer to an object to pass to the provider function. The object must be managed by the reference-counting system. |
| Registration | A variable which receives registration information for the provider. |
Definition at line 328 of file provider.c.
| VOID PhSetEnabledProvider | ( | _Inout_ PPH_PROVIDER_REGISTRATION | Registration, |
| _In_ BOOLEAN | Enabled | ||
| ) |
Sets whether a provider is enabled.
| Registration | A pointer to the registration object for a provider. |
| Enabled | TRUE if the provider is enabled, otherwise FALSE. |
Definition at line 489 of file provider.c.
| VOID PhSetIntervalProviderThread | ( | _Inout_ PPH_PROVIDER_THREAD | ProviderThread, |
| _In_ ULONG | Interval | ||
| ) |
Sets the run interval for a provider thread.
| ProviderThread | A pointer to a provider thread object. |
| Interval | The interval between each run, in milliseconds. |
Definition at line 298 of file provider.c.
| VOID PhStartProviderThread | ( | _Inout_ PPH_PROVIDER_THREAD | ProviderThread | ) |
Starts a provider thread.
| ProviderThread | A pointer to a provider thread object. |
Definition at line 244 of file provider.c.
| VOID PhStopProviderThread | ( | _Inout_ PPH_PROVIDER_THREAD | ProviderThread | ) |
Stops a provider thread.
| ProviderThread | A pointer to a provider thread object. |
Definition at line 270 of file provider.c.
| VOID PhUnregisterProvider | ( | _Inout_ PPH_PROVIDER_REGISTRATION | Registration | ) |
Unregisters a provider.
| Registration | A pointer to the registration object for a provider. |
Definition at line 360 of file provider.c.