2018-05-10 23:39:24 +01:00
|
|
|
|
|
|
|
// TegraRcmGUIDlg.h : header file
|
|
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "res/BitmapPicture.h"
|
2018-05-23 12:08:21 +01:00
|
|
|
#include <string>
|
2018-05-12 18:03:41 +01:00
|
|
|
#include "TegraRcmSmash.h"
|
|
|
|
#include "res/BitmapPicture.h"
|
|
|
|
#include <windows.h>
|
2018-05-23 12:08:21 +01:00
|
|
|
#include <string>
|
2018-05-12 18:03:41 +01:00
|
|
|
#include <thread>
|
|
|
|
#include <iostream>
|
|
|
|
#include <sstream>
|
|
|
|
#include <fstream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <memory>
|
|
|
|
#include <stdexcept>
|
|
|
|
#include <array>
|
|
|
|
|
2018-05-10 23:39:24 +01:00
|
|
|
|
|
|
|
// CTegraRcmGUIDlg dialog
|
|
|
|
class CTegraRcmGUIDlg : public CDialog
|
|
|
|
{
|
2018-05-23 12:08:21 +01:00
|
|
|
// Construction
|
2018-05-10 23:39:24 +01:00
|
|
|
public:
|
|
|
|
CTegraRcmGUIDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
CBitmapPicture RCM_BITMAP0;
|
|
|
|
CBitmapPicture RCM_BITMAP1;
|
|
|
|
CBitmapPicture RCM_BITMAP2;
|
|
|
|
CBitmapPicture RCM_BITMAP3;
|
2018-05-23 22:20:06 +01:00
|
|
|
CBitmapPicture RCM_BITMAP4;
|
|
|
|
CBitmapPicture RCM_BITMAP5;
|
|
|
|
CBitmapPicture RCM_BITMAP6;
|
2018-05-11 19:40:03 +01:00
|
|
|
CMFCEditBrowseCtrl m_EditBrowse;
|
2018-05-23 12:08:21 +01:00
|
|
|
// Dialog Data
|
2018-05-10 23:39:24 +01:00
|
|
|
#ifdef AFX_DESIGN_TIME
|
|
|
|
enum { IDD = IDD_TEGRARCMGUI_DIALOG };
|
|
|
|
#endif
|
|
|
|
|
2018-05-23 12:08:21 +01:00
|
|
|
protected:
|
2018-05-10 23:39:24 +01:00
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
|
|
|
|
|
2018-05-23 12:08:21 +01:00
|
|
|
// Implementation
|
2018-05-10 23:39:24 +01:00
|
|
|
protected:
|
|
|
|
HICON m_hIcon;
|
2018-05-23 12:08:21 +01:00
|
|
|
// Generated message map functions
|
|
|
|
virtual BOOL OnInitDialog();
|
2018-05-10 23:39:24 +01:00
|
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
|
|
afx_msg void OnIdle();
|
|
|
|
afx_msg void OnShowWindow();
|
|
|
|
afx_msg void OnPaint();
|
|
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
|
|
void StartTimer();
|
|
|
|
void StopTimer();
|
|
|
|
void OnTimer(UINT nIDEvent);
|
|
|
|
int STATUS;
|
2018-05-23 22:20:06 +01:00
|
|
|
afx_msg void BitmapDisplay(int IMG);
|
2018-05-10 23:39:24 +01:00
|
|
|
afx_msg void OnEnChangePath();
|
2018-05-12 18:03:41 +01:00
|
|
|
afx_msg void InjectPayload();
|
2018-05-10 23:39:24 +01:00
|
|
|
afx_msg void OnBnClickedShofel2();
|
2018-05-12 18:03:41 +01:00
|
|
|
afx_msg string GetPreset(string param);
|
|
|
|
afx_msg void SetPreset(string param, string value);
|
2018-05-15 19:42:54 +01:00
|
|
|
afx_msg void InstallDriver();
|
2018-05-17 18:46:51 +01:00
|
|
|
afx_msg BOOL LookForDriver();
|
2018-05-23 12:08:21 +01:00
|
|
|
afx_msg void OnBnClickedMountSd();
|
|
|
|
afx_msg int Smasher(TCHAR args[]);
|
|
|
|
afx_msg TCHAR* GetAbsolutePath(TCHAR *relative_path, DWORD dwFlags);
|
2018-05-23 22:20:06 +01:00
|
|
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd *pWnd, UINT nCtlColor);
|
2018-05-10 23:39:24 +01:00
|
|
|
};
|