NWSMIsWild

Indicates if a path contains a wildcard.

Syntax

  #include <smsutapi.h> 
   
  NWBOOLEAN NWSMIsWild ( 
     STRING   string);
  

Parameters

string

(IN) Specifies the path to search for wildcards (see Wildcard Values).

Return Values

The following table lists the return values associated with the function.

TRUE

string contains a wild card.

FALSE

string does not contain a wild card.

Remarks

NOTE:This function is supported only for backward compatibility, the NWSMGenericIsWild function can be used instead of this, as it provides the same functionality.

Only the terminal path node can have wild cards. The path node can be a parent or a child.

NWSMIsWild Example

  #include <smsutapi.h> 
   
  NWBOOLEAN isWild; 
  char stringBuf[15]; /* Arbitrary size */ 
  STRING string = (STRING)stringBuf; 
   
  isWild = NWSMIsWild(string);