ARGUMENT_PRESENT

This macro takes a parameter pointer and returns FALSE if the pointer is NULL, and TRUE otherwise.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

BOOLEAN ARGUMENT_PRESENT( IN ( CHAR * ) ArgumentPointer );

Parameters

ArgumentPointer
Specifies the value of the pointer argument to be tested.

Return Values

Returns FALSE if the value of ArgumentPointer is NULL, TRUE otherwise.

Remarks

This macro can be called in conditional code to determine whether an optional argument has been passed in a call.

A driver that calls this macro can be running at any IRQL.