HWProcess_API.h 546 B

123456789101112131415161718192021222324
  1. #ifndef _HWPROCESS_API_
  2. #define _HWPROCESS_API_
  3. #ifdef HWPROCESS_EXPORTS
  4. #define HWPROCESS_API __declspec(dllexport)
  5. #else
  6. #define HWPROCESS_API __declspec(dllimport)
  7. #endif
  8. extern "C"
  9. {
  10. HWPROCESS_API unsigned long ExecuteProcess( const wchar_t* strName, const wchar_t* strParam, bool bShow );
  11. HWPROCESS_API bool KillProcess( unsigned long nProcID );
  12. HWPROCESS_API bool QuitProcess( const wchar_t* strExeName,unsigned long nProcID );
  13. HWPROCESS_API DWORD GetProcessidFromName( const wchar_t* ProcessName);
  14. };
  15. #endif //_HWPROCESS_API_