PcCompletePendingPropertyRequest function

The PcCompletePendingPropertyRequest function is called to complete a pending property request.

Syntax


NTSTATUS PcCompletePendingPropertyRequest(
  _In_  PPCPROPERTY_REQUEST PropertyRequest,
  _In_  NTSTATUS NtStatus
);

Parameters

PropertyRequest [in]

Pointer to the property request that was passed to the property handler. The request is a structure of type PCPROPERTY_REQUEST.

NtStatus [in]

Specifies the completion status of the request. See the list of NTSTATUS values defined in header file ntstatus.h.

Return value

PcCompletePendingPropertyRequest returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.

Remarks

If a miniport driver returns STATUS_PENDING from a property handler, it is obliged to keep a pointer to the property-request structure and to complete the request at some later time by calling this function.

The driver should call PcCompletePendingPropertyRequest only when the request is no longer pending. Never call this function with an NtStatus value of STATUS_PENDING.

Requirements

Version

The PortCls system driver implements the PcCompletePendingPropertyRequest function in Microsoft Windows 98/Me and in Windows 2000 and later operating systems.

Header

Portcls.h (include Portcls.h)

Library

Portcls.lib

IRQL

<=DISPATCH_LEVEL

See also

PCPROPERTY_REQUEST
IoCompleteRequest

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft