Deletes the most recently added token from a filter expression tree.
#include <nwnet.h> or #include <nwdsfilt.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSDelFilterToken ( pFilter_Cursor_T cur, void (N_FAR N_CDECL *freeVal)( nuint32 syntax, nptr val));
uses netwin32 Function NWDSDelFilterToken (cur : pFilter_Cursor_T; freeVal : FreeValProc ) : NWDSCCODE;
(IN) Points to the current insertion point in the filter expression tree.
(IN) Points to the function to be used to free attribute values.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
The freeVal parameter is a pointer to a function freeing the attribute values. The function is passed the syntax ID and the address of the area to free.The freeVal parameter may be NULL, in which case no attribute values are freed.
If NWDSDelFilterToken is successful, cur is updated to reflect the current position in the expression tree (the insertion point of the next token).
For syntax IDs (such as SYN_BOOLEAN), see Section 5.26, Syntax IDs.
NWDSAddFilterToken, NWDSAllocFilter, NWDSFreeFilter, NWDSPutFilter