gui.h 401 B

1234567891011121314151617181920212223
  1. #ifndef GUI_H
  2. #define GUI_H
  3. #include <stdio.h>
  4. #include <windows.h>
  5. #include <commctrl.h>
  6. #include "resource.h"
  7. #define GUI
  8. #ifndef snprintf
  9. #define snprintf _snprintf
  10. #endif
  11. #define STRING_SIZE 256
  12. int nssm_gui(int, char *);
  13. void centre_window(HWND);
  14. int install(HWND);
  15. int remove(HWND);
  16. void browse(HWND);
  17. INT_PTR CALLBACK install_dlg(HWND, UINT, WPARAM, LPARAM);
  18. #endif