Function.h 861 B

123456789101112131415161718192021222324
  1. #pragma once
  2. int Err(HWND hwnd, LPCTSTR message);
  3. int Err(ATOM atom, LPCTSTR message);
  4. int Err(LPCTSTR message);
  5. void ForceErrCheck(LPCTSTR title);
  6. int Err(std::ifstream* file, LPCTSTR message);
  7. int Err(std::ofstream* file, LPCTSTR message);
  8. void StartBDS();
  9. void StopBDS();
  10. void ForceStopBDS();
  11. bool SendCommand(LPCSTR command);
  12. bool SendCommand_NoErr(LPCSTR command);
  13. bool SendCommand_WithID(const std::string& front, const std::string& id, const std::string& behind);
  14. void ClearLog();
  15. void Log(HWND hwnd);
  16. HWND CreateChildWindow(HWND hFather, LPCWCHAR childTitle, int x, int y, WNDPROC procFunc, LPCWCHAR className, HINSTANCE hInstance);
  17. HWND CreateLogWindow(LPCWCHAR childTitle, int x, int y, WNDPROC procFunc, LPCWCHAR className, HINSTANCE hInstanceF);
  18. HWND CreateStartWindow(int x, int y, WNDPROC procFunc, LPCWCHAR className, HINSTANCE hInstanceF);