Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 2.35 KB

nf-storport-storportpause.md

File metadata and controls

72 lines (56 loc) · 2.35 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:storport.StorPortPause
StorPortPause function (storport.h)
The StorPortPause routine pauses an adapter for the specified period of time.
storage\storportpause.htm
storage
03/29/2018
StorPortPause function
StorPortPause, StorPortPause routine [Storage Devices], storage.storportpause, storport/StorPortPause, storprt_0d8b3555-f061-4320-948e-f8db6a204d0e.xml
storport.h
Storport.h
Universal
Storport.lib
Windows
StorPortPause
storport/StorPortPause
APIRef
kbSyntax
LibDef
Storport.lib
Storport.dll
StorPortPause

StorPortPause function

-description

The StorPortPause routine pauses an adapter for the specified period of time.

-parameters

-param HwDeviceExtension [in]

Pointer to the hardware device extension of the adapter to pause. This is a per-HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

-param Timeout

Specifies the interval of time, in seconds, that the adapter is to be paused.

-returns

StorPortPause returns TRUE if the miniport driver succeeded in pausing the adapter, FALSE if not.

-remarks

All requests to the adapter are held until the time-out expires or the device resumes. All requests to all targets attached to the adapter will be held until the adapter is resumed or the time-out expires.

-see-also

StorPortResume