DeRegisterOpRegionHandler - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// oprghdlr.h

NTSTATUS DeRegisterOpRegionHandler(
  [in] PDEVICE_OBJECT DeviceObject,
  [in] PVOID          OperationRegionObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-oprghdlr-deregisteropregionhandler)

Description

The DeRegisterOpRegionHandler routine deregisters an operation region handler with the ACPI driver.

Parameters

DeviceObject [in]

Pointer to the physical device object (PDO) that represents the ACPI device that defines the operation region.

OperationRegionObject [in]

Specifies the operation region object returned by RegisterOpRegionHandler for the operation region handler.

Return value

Returns one of the following status values.

Return code Description
STATUS_SUCCESS The operating region handler was successfully registered.
STATUS_INSUFFICIENT_RESOURCES The routine could not allocate the necessary system resources.
STATUS_Xxx An internal error occurred.

Remarks

This routine is used in combination with RegisterOpRegionHandler. To deregister an operation region handler, the caller must specify the operation region object returned by RegisterOpRegionHandler when it registered the operation region handler.

For more information about operation regions, see Supporting an Operation Region.

See also

ACPI_OP_REGION_HANDLER

RegisterOpRegionHandler