-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 @@ +
+enum _STSB {
+ stsbSend = 1,
+ stsbIs = 0
+};
+
+BOOL statusOnDo()
+{
+ TRACE0("DO STATUS\n");
+ return TRUE;
+}
+BOOL statusOnWill()
+{
+ TRACE0("WILL STATUS\n");
+ return TRUE;
+}
+BOOL statusOnSB(LPBYTE data,UINT size)
+{
+ if(!size)
+ return FALSE;
+ switch(data[0]){
+ case stsbSend:
+ TRACE0("SB STATUS SEND\n");
+ break;
+ case stsbIs:
+ TRACE0("SB STATUS IS\n");
+ break;
+ }
+ return TRUE;
+}
\ No newline at end of file |