-rw-r--r-- | status.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/status.cpp b/status.cpp new file mode 100644 index 0000000..3338590 --- a/dev/null +++ b/status.cpp | |||
@@ -0,0 +1,30 @@ | |||
1 | |||
2 | enum _STSB{ | ||
3 | stsbSend = 1, | ||
4 | stsbIs = 0 | ||
5 | }; | ||
6 | |||
7 | BOOL statusOnDo() | ||
8 | { | ||
9 | TRACE0("DO STATUS\n"); | ||
10 | return TRUE; | ||
11 | } | ||
12 | BOOL statusOnWill() | ||
13 | { | ||
14 | TRACE0("WILL STATUS\n"); | ||
15 | return TRUE; | ||
16 | } | ||
17 | BOOL statusOnSB(LPBYTE data,UINT size) | ||
18 | { | ||
19 | if(!size) | ||
20 | return FALSE; | ||
21 | switch(data[0]){ | ||
22 | case stsbSend: | ||
23 | TRACE0("SB STATUS SEND\n"); | ||
24 | break; | ||
25 | case stsbIs: | ||
26 | TRACE0("SB STATUS IS\n"); | ||
27 | break; | ||
28 | } | ||
29 | return TRUE; | ||
30 | } \ No newline at end of file | ||