Skip to content

Latest commit

 

History

History
62 lines (51 loc) · 1.57 KB

nf-storport-storportterminatesystemthread.md

File metadata and controls

62 lines (51 loc) · 1.57 KB
UID tech.root title ms.date targetos description req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:storport.StorPortTerminateSystemThread
storage
StorPortTerminateSystemThread
05/13/2021
Windows
StorPortTerminateSystemThread terminates the current system thread.
function
storport.h
Windows Server 2022
apiref
HeaderDef
storport.h
StorPortTerminateSystemThread
StorPortTerminateSystemThread
storport/StorPortTerminateSystemThread
c++

-description

StorPortTerminateSystemThread terminates the current system thread.

-parameters

-param HwDeviceExtension [in]

Pointer to the miniport's hardware device extension.

-param 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