summaryrefslogtreecommitdiff
path: root/NSCmpts/NSMessages.h
blob: f7a393002768119bef900328d2f21aaa18808c6b (plain)
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
#ifndef __NS_MESSAGES_H__990929
#define __NS_MESSAGES_H__990929


struct NS_ERROR_DATA
{ 
	HRESULT hRes;
	LPCTSTR szDesc;
	LPARAM lParam;
};

struct NS_UPDATE_DATA
{
	LPCTSTR szMessage1;
	LPCTSTR szMessage2;
	long lCur;
	long lTot;
};

/*struct NS_UPDATE_DATA
{
	LPCTSTR szMessage;
	long lCur;
	long lTot;
};*/

// WPARAM: NULL
// LPARAM: address of NS_ERROR_DATA
#define NSM_ERROR	(WM_APP + 10)

// WPARAM: NULL 
// LPARAM: address of NS_UPDATE_DATA
#define NSM_UPDATE	(NSM_ERROR + 1)

#endif //__NS_MESSAGES_H__990929