summaryrefslogtreecommitdiffstats
path: root/private/unimodem/new/slot/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/unimodem/new/slot/slot.h')
-rw-r--r--private/unimodem/new/slot/slot.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/private/unimodem/new/slot/slot.h b/private/unimodem/new/slot/slot.h
new file mode 100644
index 000000000..a8ea4fbe9
--- /dev/null
+++ b/private/unimodem/new/slot/slot.h
@@ -0,0 +1,32 @@
+//****************************************************************************
+//
+// Module: UNIMDM
+// File: SLOT.H
+//
+// Copyright (c) 1992-1996, Microsoft Corporation, all rights reserved
+//
+// Revision History
+//
+//
+// 3/25/96 JosephJ Created
+//
+//
+// Description: Interface to the unimodem TSP notification mechanism:
+// The lower level (notifXXXX) APIs
+//
+//****************************************************************************
+
+#define MAX_NOTIFICATION_NAME_SIZE 256
+
+
+typedef DWORD HNOTIFICATION;
+
+HNOTIFICATION notifCreate(BOOL fServer, LPCTSTR lptszName, DWORD dwMaxSize,
+ DWORD dwMaxPending);
+void notifFree(HNOTIFICATION hn);
+
+HANDLE notifGetObj(HNOTIFICATION hn);
+DWORD notifGetMaxSize(HNOTIFICATION hn);
+BOOL notifReadMsg(HNOTIFICATION hn, LPBYTE lpb, DWORD dwcb, LPDWORD lpdwRead);
+BOOL notifGetNextMsgSize(HNOTIFICATION hn, LPDWORD lpdwcb);
+BOOL notifWriteMsg(HNOTIFICATION hn, LPBYTE lpb, DWORD dwcb);