Export (0) Print
Expand All
Expand Minimize

ARGUMENT_PRESENT macro

The ARGUMENT_PRESENT macro takes an argument pointer and returns FALSE if the pointer is NULL. Otherwise, it returns TRUE.

Syntax


BOOLEAN ARGUMENT_PRESENT(
  [in]  CHAR *ArgumentPointer
);

Parameters

ArgumentPointer [in]

Specifies the value of the pointer argument to be tested.

Return value

ARGUMENT_PRESENT returns FALSE if the value of ArgumentPointer is NULL. Otherwise, it returns TRUE.

Remarks

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

Requirements

Header

Ntdef.h (include Wdm.h or Ntddk.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft