www.pudn.com > 封包截取的源码值得学习VC.rar > S3DHook.h
// S3DHook.h : main header file for the S3DHOOK DLL
//
#if !defined(AFX_S3DHOOK_H__396F6F90_6769_4CC1_A6B5_34F60B6873E1__INCLUDED_)
#define AFX_S3DHOOK_H__396F6F90_6769_4CC1_A6B5_34F60B6873E1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#ifndef S3DHOOKAPI
#define S3DHOOKAPI extern "C" __declspec(dllimport)
#endif
#include "resource.h" // main symbols
S3DHOOKAPI BOOL WINAPI InstallHook();
S3DHOOKAPI BOOL WINAPI UninstallHook();
/////////////////////////////////////////////////////////////////////////////
// CS3DHookApp
// See S3DHook.cpp for the implementation of this class
//
class CS3DHookApp : public CWinApp
{
public:
CS3DHookApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CS3DHookApp)
public:
virtual int ExitInstance();
//}}AFX_VIRTUAL
//{{AFX_MSG(CS3DHookApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CS3DHookDlg dialog
class CS3DHookDlg : public CDialog
{
// Construction
public:
CS3DHookDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CS3DHookDlg)
enum { IDD = IDD_S3DHOOK_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CS3DHookDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CS3DHookDlg)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_S3DHOOK_H__396F6F90_6769_4CC1_A6B5_34F60B6873E1__INCLUDED_)