NWUXSetScanAction

Enables or disables the current scan/parse functions

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Unicode

Syntax

   #include <nunicode.h> 
    
   N_EXTERN_LIBRARY(nint) NWUXSetScanAction  ( 
      pCONVERT   byteUniHandle,  
      nint       scanByteAction,  
      nint       scanUniAction);
   

Pascal Syntax

   uses netwin32 
    
   Function NWUXSetScanAction 
     (byteUniHandle : pCONVERT;
     scanByteFunc : nint;
     ScanUniFunc : nint;
   ): nint;
   

Parameters

byteUniHandle
(IN) Points to the converter handle.
scanByteAction
(IN) Specifies the status for current byte scan/parse functions.
scanUniAction
(IN) Specifies the status for current Unicode scan/parse functions.

Return Values

0x0000

SUCCESSFUL

0xFDE9

NWU_NULL_HANDLE

0xFDEA

NWU_BAD_HANDLE

0xFDEB

NWU_HANDLE_MISMATCH

0xFDED

NWU_RANGE_ERROR

Remarks

Values for the scanByteAction or scanUniAction parameters follow:

NWU_ENABLED

Enables scan/parse functions

NWU_DISABLED

Disables scan/parse functions

NWU_UNCHANGED_ACTION

Leaves the current settings unchanged

See exsscan.c for sample code.

See Also

NWUXGetScanAction, NWUXGetByteFunctions, NWUXGetUniFunctions