⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 execute.h

📁 This software performs code conversion of Chinese characters, including GB2312/GBK and BIG5. It a
💻 H
字号:
// execute.h

#ifndef EXECUTE_H
#define EXECUTE_H

#ifdef __cplusplus
extern "C" {
#endif


int ExecuteA ( const char *szCmdLine, int nCmdShow, unsigned long dwTimeOut, int *pExitCode ) ;
int ExecuteW ( const wchar_t *szCmdLine, int nCmdShow, unsigned long dwTimeOut, int *pExitCode ) ;
int ExecuteViaComspecA ( const char *szCmdLine ) ;
int ExecuteViaComspecW ( const wchar_t *szCmdLine ) ;
size_t EncodeArgumentToCrtStyleA ( const char *szSrc, char *szDst ) ;
size_t EncodeArgumentToCrtStyleW ( const wchar_t *szSrc, wchar_t *szDst ) ;


#ifdef UNICODE
#define Execute ExecuteW
#define ExecuteViaComspec ExecuteViaComspecW
#define EncodeArgumentToCrtStyle EncodeArgumentToCrtStyleW
#else
#define Execute ExecuteA
#define ExecuteViaComspec ExecuteViaComspecA
#define EncodeArgumentToCrtStyle EncodeArgumentToCrtStyleA
#endif


#define system ExecuteViaComspecA
#define _wsystem ExecuteViaComspecW


#ifdef __cplusplus
}
#endif

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -