SetWildcardTranslationMode

Specifies whether wildcard translation is to take place when parsing pathnames and filenames

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:Path and Drive

Syntax

   #include <nwdir.h>  
    
   BYTE SetWildcardTranslationMode  (  
      BYTE   newMode);
   

Parameters

newMode

(IN) Specifies the new translation mode (TRUE or FALSE).

Return Values

Returns the old translation mode.

Remarks

SetWildcardTranslationMode enables (TRUE) or disables (FALSE) translation of the following wildcards when parsing path and filenames:

When translation is enabled, the high-order bit is changed for all wildcard characters that are parsed in any subsequent file or directory service function. If the high-order bit is 0, it is set to a value of 1. If the high-order bit is 1, it is set to 0.

NetWare uses its own set of rules to interpret wildcards in pathnames. If the high-order bit of a wildcard character is a 1, NetWare interprets that character as a DOS wildcard (this is called an augmented wildcard) and uses DOS rules for interpretation of that wildcard.