PsRequestDestroy

Destroys the request handle and frees its resources.

Syntax

PULSE_STATUS PsRequestDestroy(
 [in] PPS_REQUEST pRequest
);

Parameters

PPS_REQUEST pRequest

An opaque handle to a request created by the PsRequestCreate function.

Return value

If the function succeeds, the return value is PULSE_STATUS_SUCCESS.

If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:

PULSE_STATUS_INVALID_PARAMETER
0xC0000010
The pRequest parameter is NULL.

Remarks

Cancels any pending Pulse API call assigned to this request.