NetRequestCompleteWithoutInformation function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

Completes a NETREQUEST and supplies a completion status.

Syntax

void NetRequestCompleteWithoutInformation(
  NETREQUEST Request,
  NTSTATUS   CompletionStatus
);

Parameters

Request

A handle to a network request object that represents the control (OID) request that is being completed.

CompletionStatus

An NTSTATUS value that represents the completion status of the request. Valid status values include, but are not limited to, the following:

Return code Description
STATUS_SUCCESS The driver successfully completed the request.
STATUS_CANCELLED The driver canceled the request.
STATUS_UNSUCCESSFUL The driver encountered an error while processing the request.

Return Value

This method does not return a value.

Remarks

Typically, the client driver calls NetRequestCompleteWithoutInformation from one of its control request handler routines. Call this function when completing a request that does not require additional memory transfer. For more info, see Handling Control Requests.

After this method returns, the request handle is no longer valid. NetAdapterCx removes it from the NETQUEUE and deletes the NETREQUEST object.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.21
Header netrequest.h (include netadaptercx.h)
IRQL <= DISPATCH_LEVEL

See Also

NetRequestMethodComplete

NetRequestQueryDataComplete

NetRequestSetDataComplete