#include <windows.h>
Go to the source code of this file.
◆ main()
Definition at line 6 of file msserver.c.
7{
12 LPTSTR lpszMailslotName =
"\\\\.\\mailslot\\mymailslot";
13
15 512,
18for (;;)
19{
21 chBuf,
22 512,
23 &cbRead,
26 {
27 printf(
"ReadFile() failed!\n");
29 return 0;
30 }
31
32 printf(
"Data read: %s\n", chBuf);
33}
34
36
37 return 0;
38}
#define ReadFile(a, b, c, d, e)
#define MAILSLOT_WAIT_FOREVER