Skip to content

Latest commit

 

History

History
101 lines (76 loc) · 3.52 KB

nf-portcls-pcunregisteriotimeout.md

File metadata and controls

101 lines (76 loc) · 3.52 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:portcls.PcUnregisterIoTimeout
PcUnregisterIoTimeout function (portcls.h)
The PcUnregisterIoTimeout function unregisters a driver-supplied I/O-timer callback routine for a specified device object.
audio\pcunregisteriotimeout.htm
audio
05/08/2018
PcUnregisterIoTimeout function
PcUnregisterIoTimeout, PcUnregisterIoTimeout function [Audio Devices], audio.pcunregisteriotimeout, audpc-routines_cb67c1bb-c5ad-4118-bdff-906735214653.xml, portcls/PcUnregisterIoTimeout
portcls.h
Portcls.h
Universal
The PortCls system driver implements the PcUnregisterIoTimeout function in Microsoft Windows 98/Me and in Windows 2000 and later operating systems.
Portcls.lib
PASSIVE_LEVEL
Windows
PcUnregisterIoTimeout
portcls/PcUnregisterIoTimeout
APIRef
kbSyntax
LibDef
Portcls.lib
Portcls.dll
PcUnregisterIoTimeout

PcUnregisterIoTimeout function

-description

The PcUnregisterIoTimeout function unregisters a driver-supplied I/O-timer callback routine for a specified device object.

Note  This function is deprecated for Windows 8 and later versions of Windows. For Windows on Arm systems, this function is commented out in the PortCls class driver and is inaccessible.
 

-parameters

-param pDeviceObject [in]

Pointer to the same device object that the driver supplied when it previously called PcRegisterIoTimeout. The device object is a system structure of type DEVICE_OBJECT.

-param pTimerRoutine [in]

Pointer to the same I/O-timer callback routine that the driver supplied when it previously called PcRegisterIoTimeout

-param pContext [in]

Pointer to the same driver-determined context that the driver supplied when it previously called PcRegisterIoTimeout

-returns

PcUnregisterIoTimeout returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. The following table shows some of the possible error codes.

Return code Description
STATUS_NOT_FOUND
Indicates that no timer callback with the same device object, callback routine, and context is currently registered.

-remarks

This call succeeds only if a time-out callback with the same device object, timer routine, and context was previously registered with a call to the PcRegisterIoTimeout function.

-see-also

DEVICE_OBJECT

PcRegisterIoTimeout