-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPicStand.h
62 lines (46 loc) · 1.52 KB
/
PicStand.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// PicStand.h : PICSTAND アプリケーションのメイン ヘッダー ファイルです。
//
#if !defined(AFX_PICSTAND_H__F3F485E9_8836_4AC0_90AD_CAC345ABBF92__INCLUDED_)
#define AFX_PICSTAND_H__F3F485E9_8836_4AC0_90AD_CAC345ABBF92__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
#include "resource.h" // メイン シンボル
/////////////////////////////////////////////////////////////////////////////
// CPicStandApp:
// このクラスの動作の定義に関しては PicStand.cpp ファイルを参照してください。
//
#define MAPPED_FILE_NAME _T( "PicStandMappedFile" )
typedef struct {
HWND hWnd;
}SharedData;
class CPicStandApp : public CWinApp
{
protected:
BOOL m_bSharedFileExist;
SharedData* m_pSharedData;
HANDLE m_hMap;
public:
void SetHandleToSharedData( HWND hWnd );
CPicStandApp();
// オーバーライド
// ClassWizard は仮想関数のオーバーライドを生成します。
//{{AFX_VIRTUAL(CPicStandApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// インプリメンテーション
//{{AFX_MSG(CPicStandApp)
// メモ - ClassWizard はこの位置にメンバ関数を追加または削除します。
// この位置に生成されるコードを編集しないでください。
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
#endif // !defined(AFX_PICSTAND_H__F3F485E9_8836_4AC0_90AD_CAC345ABBF92__INCLUDED_)