NWUXSetByteFunctions
Specifies the functions to be used to handle unmappable
bytes and special byte sequences during byte-to-unicode conversion
- 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) NWUXSetByteFunctions (
pCONVERT byteUniHandle,
NMBYTE noMapByteFunc,
SCBYTE scanByteFunc,
PRBYTE parseByteFunc);
Pascal Syntax
uses netwin32
Function NWUXSetByteFunctions
(byteUniHandle : pCONVERT;
noMapByteFunc : NMBYTE;
scanByteFunc : SCBYTE;
parseByteFunc : PRBYTE
): nint;
Parameters
- byteUniHandle
- (IN) Points to the converter handle.
- noMapByteFunc
- (IN) Specifies the function to be called when an
unmappable byte is found.
- scanByteFunc
- (IN) Specifies the function to scan for special
byte sequences.
- parseByteFunc
- (IN) Specifies the function to parse special byte
sequences.
Remarks
NWUXSetByteFunctions will not set the action code to NWU_CALL_HANDLER.
Values for the noMapByteFunc, scanByteFunc,
and parseByteFunc parameters follow:
- NWU_RESET_TO_DEFAULT
Resets the current setting to the default setting
- NWU_UNCHANGED_FUNCTION Leaves the current
setting unchanged
See exsbfunc.c for
sample code.