2023-06-15 01:35:37 +00:00
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-06-19 11:08:42 +00:00
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
2023-06-15 01:35:37 +00:00
|
|
|
|
#ifndef ARRAY_SIZE
|
|
|
|
|
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
2023-06-19 11:08:42 +00:00
|
|
|
|
#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
|