Leaked source code of windows server 2003
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
751 B

// Copyright (c) 1990-1999 Microsoft Corporation
#ifndef _LRPCMON_H
#define _LRPCMON_H
#if _MSC_VER > 1000
#pragma once
#endif
// 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