StorPortTerminateSystemThread - NtDoc

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

VOID StorPortTerminateSystemThread(
  [in]          PVOID HwDeviceExtension,
  [in/optional] PVOID ThreadContext
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportterminatesystemthread)

Description

StorPortTerminateSystemThread terminates the current system thread.

Parameters

HwDeviceExtension [in]

Pointer to the miniport's hardware device extension.

ThreadContext [in/optional]

Pointer to the thread context received in a prior call to StorPortCreateSystemThread.

Remarks

A miniport-created system thread calls StorPortTerminateSystemThread to terminate itself. A miniport that creates its own threads must ensure that each such thread terminates. The miniport must not terminate any threads that the system or other drivers created.

See also

StorPortCreateSystemThread