PsDereferenceSiloContext function (ntddk.h)

This routine decrements the reference count on the object.

Syntax

void PsDereferenceSiloContext(
  [in] PVOID SiloContext
);

Parameters

[in] SiloContext

A pointer to the object created by the PsCreateSiloContext routine. This parameter is required and it cannot be NULL.

Return value

None

Remarks

If the reference count reaches zero it will call the cleanup callback provided when the PsCreateSiloContext routine created the object.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Header ntddk.h
IRQL IRQL_requires_max(DISPATCH_LEVEL)