source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/adptif.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 916 bytes
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _IPX_ADAPTER_
7#define _IPX_ADAPTER_
8
9typedef struct _ADDRESS_RESERVED {
10 UCHAR Reserved[28];
11} ADDRESS_RESERVED,*PADDRESS_RESERVED;
12
13HANDLE WINAPI CreateSocketPort(USHORT Socket);
14DWORD WINAPI DeleteSocketPort(HANDLE Handle);
15DWORD WINAPI IpxRecvPacket(HANDLE Handle,PUCHAR IpxPacket,ULONG IpxPacketLength,PADDRESS_RESERVED lpReserved,LPOVERLAPPED lpOverlapped,LPOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine);
16DWORD WINAPI IpxSendPacket(HANDLE Handle,ULONG AdapterIdx,PUCHAR IpxPacket,ULONG IpxPacketLength,PADDRESS_RESERVED lpReserved,LPOVERLAPPED lpOverlapped,LPOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine);
17
18#define GetNicIdx(pReserved) ((ULONG)*((USHORT *)(pReserved+2)))
19
20#endif
Note: See TracBrowser for help on using the repository browser.