#pragma once #include #ifndef ARRAY_SIZE #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) #endif #ifdef __cplusplus // If used by C++ code, extern "C" { // we need to export the C interface #endif void RemoveTailLineBreak(TCHAR* pInputStr, int strSize); int RunPipeCmd(TCHAR* pszCmd, TCHAR* pszResultBuffer, int dwResultBufferSize); #ifdef __cplusplus } #endif