Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
728 B

  1. // Copyright (c) 1990-1999 Microsoft Corporation
  2. #ifndef _LRPCMON_H
  3. #define _LRPCMON_H
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif
  7. // Creates a window and registers it with LRPC. Also saves the address, size
  8. // of the given static buffer; address of Notification routine.
  9. //
  10. // For every LRPC message processed LRPC posts an identical message to this
  11. // window. The message is processed: it content is formatted into the buffer.
  12. // It then calls the notification routine.
  13. //
  14. STDAPI_(BOOL) StartMonitor(HINSTANCE hInst, FARPROC pNotify,
  15. LPOLESTR pBuf, DWORD dwBufSize);
  16. STDAPI_(void) StopMonitor(void);
  17. #define MINBUFSIZE 32 /* Minimum buffer size passed to StartMonitor */
  18. #endif