mirror of https://github.com/lianthony/NT4.0
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.
50 lines
1.1 KiB
50 lines
1.1 KiB
/**********************************************************************/
|
|
/** Microsoft LAN Manager **/
|
|
/** Copyright(c) Microsoft Corp., 1990, 1991 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
palert.c
|
|
mapping layer for NetAlert API
|
|
|
|
FILE HISTORY:
|
|
danhi Created
|
|
danhi 01-Apr-1991 Change to LM coding style
|
|
|
|
*/
|
|
|
|
#define INCL_NET
|
|
#define INCL_DOSERRORS
|
|
#define INCL_DOSMEMMGR
|
|
|
|
#include <os2.h>
|
|
#include <lan.h>
|
|
#include <stdlib.h>
|
|
#include "port1632.h"
|
|
|
|
USHORT MNetAlertRaise (
|
|
const CHAR FAR * pszEvent,
|
|
const CHAR FAR * pbBuffer,
|
|
USHORT cbBuffer,
|
|
ULONG ulTimeout ) {
|
|
|
|
return(NetAlertRaise(pszEvent, pbBuffer, cbBuffer, ulTimeout));
|
|
|
|
}
|
|
|
|
USHORT MNetAlertStart (
|
|
const CHAR FAR * pszEvent,
|
|
const CHAR FAR * pszRecipient,
|
|
USHORT cbMaxData ) {
|
|
|
|
return(NetAlertStart(pszEvent, pszRecipient, cbMaxData));
|
|
|
|
}
|
|
|
|
USHORT MNetAlertStop (
|
|
const CHAR FAR * pszEvent,
|
|
const CHAR FAR * pszRecipient ) {
|
|
|
|
return(NetAlertStop(pszEvent, pszRecipient));
|
|
|
|
}
|