summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/lrpcmon.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/lrpcmon.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/sdk/inc/lrpcmon.h')
-rw-r--r--public/sdk/inc/lrpcmon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/public/sdk/inc/lrpcmon.h b/public/sdk/inc/lrpcmon.h
new file mode 100644
index 000000000..a813657a0
--- /dev/null
+++ b/public/sdk/inc/lrpcmon.h
@@ -0,0 +1,19 @@
+#ifndef _LRPCMON_H
+#define _LRPCMON_H
+
+// Creates a window and registers it with LRPC. Also saves the address, size
+// of the given static buffer; address of Notification routine.
+//
+// For every LRPC message processed LRPC posts an identical message to this
+// window. The message is processed: it content is formatted into the buffer.
+// It then calls the notification routine.
+//
+STDAPI_(BOOL) StartMonitor(HINSTANCE hInst, FARPROC pNotify,
+ LPOLESTR pBuf, DWORD dwBufSize);
+
+STDAPI_(void) StopMonitor(void);
+
+#define MINBUFSIZE 32 /* Minimum buffer size passed to StartMonitor */
+
+#endif
+