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.
83 lines
3.1 KiB
83 lines
3.1 KiB
/*****************************************************************/
|
|
/** Microsoft LAN Manager **/
|
|
/** Copyright(c) Microsoft Corp., 1987-1990 **/
|
|
/*****************************************************************/
|
|
|
|
/********************************************************************
|
|
* *
|
|
* About this file ... MAILSLOT.H *
|
|
* *
|
|
* This file contains information about the Mailslot APIs. *
|
|
* *
|
|
* Function prototypes. *
|
|
* *
|
|
********************************************************************/
|
|
|
|
#ifndef NETMAILSLOT_INCLUDED
|
|
|
|
#define NETMAILSLOT_INCLUDED
|
|
|
|
|
|
/****************************************************************
|
|
* *
|
|
* Function prototypes - Mailslot *
|
|
* *
|
|
****************************************************************/
|
|
|
|
extern API_FUNCTION
|
|
DosMakeMailslot ( const char far * pszName,
|
|
unsigned short cbMessageSize,
|
|
unsigned short cbMailslotSize,
|
|
unsigned far * phMailslot );
|
|
|
|
extern API_FUNCTION
|
|
DosPeekMailslot ( unsigned hMailslot,
|
|
char far * pbBuffer,
|
|
unsigned short far * pcbReturned,
|
|
unsigned short far * pcbNextSize,
|
|
unsigned short far * pusNextPriority );
|
|
|
|
extern API_FUNCTION
|
|
DosDeleteMailslot ( unsigned hMailslot );
|
|
|
|
extern API_FUNCTION
|
|
DosMailslotInfo ( unsigned hMailslot,
|
|
unsigned short far * pcbMessageSize,
|
|
unsigned short far * pcbMailslotSize,
|
|
unsigned short far * pcbNextSize,
|
|
unsigned short far * pusNextPriority,
|
|
unsigned short far * pcMessages);
|
|
|
|
extern API_FUNCTION
|
|
DosPeekMailslot ( unsigned hMailslot,
|
|
char far * pbBuffer,
|
|
unsigned short far * pcbReturned,
|
|
unsigned short far * pcbNextSize,
|
|
unsigned short far * pusNextPriority );
|
|
|
|
extern API_FUNCTION
|
|
DosReadMailslot ( unsigned hMailslot,
|
|
char far * pbBuffer,
|
|
unsigned short far * pcbReturned,
|
|
unsigned short far * pcbNextSize,
|
|
unsigned short far * pusNextPriority,
|
|
long cTimeout );
|
|
|
|
extern API_FUNCTION
|
|
DosWriteMailslot ( const char far * pszName,
|
|
const char far * pbBuffer,
|
|
unsigned short cbBuffer,
|
|
unsigned short usPriority,
|
|
unsigned short usClass,
|
|
long cTimeout );
|
|
|
|
|
|
/****************************************************************
|
|
* *
|
|
* Special values and constants - Mailslot *
|
|
* *
|
|
****************************************************************/
|
|
|
|
#define MAILSLOT_NO_TIMEOUT -1
|
|
|
|
#endif /* NETMAILSLOT_INCLUDED */
|