NWSMGenericIsWild

Indicates if a path contains wildcard characters.

Syntax

  #include <smsutapi.h> 
   
  NWBOOLEAN NWSMGenericIsWild ( 
     UINT32   nameSpaceType, 
     void    *string);
  

Parameters

nameSpaceType

(IN) Specifies the name space type of the string (see nameSpaceType Values).

string

(IN) Points to the path to search for wildcard characters (see Wildcard Values).

Return Values

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

TRUE

string contains wildcards.

FALSE

string does not contain wildcards.

Remarks

NWSMGenericIsWild supports strings in UTF-8 format.

The path node can be a parent or a child. Only the terminal path node can contain wildcards.

NWSMGenericIsWild Example

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