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
PublicFun.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- //////////////////////////////////////////////////////////////////////////////////////
- //
- // FileName : PublicFun.h
- // Version : 1.0
- // Creater : Cheng Bitao
- // Date : 2002-4-8 16:40:16
- // Comment : Define the public function
- //
- //////////////////////////////////////////////////////////////////////////////////////
- #ifndef __PUBLIC_FUNCTION_H__
- #define __PUBLIC_FUNCTION_H__
- #pragma pack(push, 1)
- typedef struct tagFILE_MAPPING
- {
- HWND hWnd;
- }FILE_MAPPING, *PFILE_MAPPING;
- #pragma pack(pop)
- void AddPathChar(char szPath[], char chPathChar);
- void AddPathChar(char szPath[]);
- void MkDirEx(const char cszPathDir[]);
- int FileExists(LPCTSTR lpszFileName);
- int CopyDir(const char cszSource[], const char cszDest[], int nFailedIfExist);
- int StopAService(const char cszServiceName[]);
- int StartAService(const char cszServiceName[]);
- // Get Exit CommandLine parameter
- // Return 1: Quit Parameter
- // Return 0: No Quit parameter
- int GetExitCommandLineParameter();
- void StrAddStr(char szStr1[], const char cszStr2[]);
- int GetRegKeyValue(const char cszRegKey[], const char cszKeyName[], char szValue[], int nSize);
- #endif //__PUBLIC_FUNCTION_H__