Important: The information in this document is obsolete and should not be used for new development.
Creates a sniffer object and returns a reference to it.
pascal OSStatus TECCreateSniffer (
The TECCreateSniffer function polls plug-ins for available sniffers, creates a sniffer object capable of sniffing each of the specified encodings that it can find a sniffer function for, and returns a reference to it. You use this sniffer object reference with sniffer functions such as TECSniffTextEncoding. If no sniffer function is available for a particular encoding, no error is returned and TECSniffTextEncoding indicates later that the encoding was not examined.
To remove a sniffer object, you must call the function TECDisposeSniffer.