Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Trnsdt.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 3k
Category:
Game Server Simulator
Development Platform:
C/C++
- /************************************************************************/
- /* */
- /* Header File: Trnsdt.h iDOS LIB + Windows DLL/Win16 & Win32) */
- /* */
- /* Copyright (c) Microsoft Corporation. All rights reserved. */
- /* */
- /************************************************************************/
- #if defined(WIN32)
- #pragma pack(4)
- #endif
- /****************************************************************************
- Definitions for MS-DOS
- *****************************************************************************/
- #if (!defined(WINDOWS) && !defined(WIN32))
- #define FALSE 0
- #define TRUE 1
- #define FAR _far
- #define VOID void
- typedef unsigned char BYTE;
- typedef BYTE FAR* LPBYTE;
- typedef unsigned short WORD;
- typedef unsigned long DWORD;
- #endif
- /****************************************************************************
- PASSSTRUCT Structure
- *****************************************************************************/
- typedef struct tagPassParm {
- WORD parm_length; /* Parameter Length(input) */
- WORD exit_code; /* Exit Code(output) */
- WORD in_length; /* Input Buffer Length(input) */
- LPBYTE in_addr; /* Input Buffer Address(input) */
- WORD out_length; /* Output Buffer Length(in/out) */
- LPBYTE out_addr; /* Output Buffer Address(input) */
- WORD trns_id; /* Conversion ID(input) */
- WORD in_page; /* Input Code Page(input) */
- WORD out_page; /* Output Code Page */
- WORD option; /* Option(at calling) */
- WORD type; /* DBCS, EITHER, BOTH */
- } PASSSTRUCT;
- /****************************************************************************
- Function declarations
- *****************************************************************************/
- #if defined(__cplusplus)
- extern "C" {
- #endif
- #if (!defined(WINDOWS) && !defined(WIN32))
- WORD TrnsDt(PASSSTRUCT * PassParm);
- #else
- WORD WINAPI TrnsDt(PASSSTRUCT far* PassParm);
- #endif
- #if defined(__cplusplus)
- }
- #endif
- /****************************************************************************
- Return Codes
- *****************************************************************************/
- #define NO_ERR 0
- #define ERR_FILE_NOT_FOUND 2
- #define ERR_INVALID_PARAMETER 87
- #define ERR_BUFFER_OVERFLOW 111
- #define ERR_MEMORY_ALLOCATE 150
- /****************************************************************************
- Type codes
- *****************************************************************************/
- #define SNA_DBCS 0x0100
- #define SNA_EITHER 0x0200
- #define SNA_BOTH 0x0400
- /****************************************************************************
- Option bitmasks
- *****************************************************************************/
- #define OP_GET_SOSI 0x0001
- #define OP_DB_START 0x0002
- #define OP_IBM_TABLE 0x0004
- #define OP_BLANK_PAD 0x0008
- #define OP_TRUNCATE 0x0010
- #define OP_OMITNULL 0x0020
- #define OP_SET_SOSI 0x0100
- #if defined(WIN32)
- #pragma pack()
- #endif