- Forgot to commit these for MSVC build...
[reactos.git] / reactos / drivers / net / tcpip / tcpip / tinfo.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS TCP/IP protocol driver
4 * FILE: tcpip/tinfo.c
5 * PURPOSE: Transport layer information
6 * PROGRAMMERS: Art Yerkes
7 * REVISIONS:
8 * CSH 01/08-2000 Created
9 */
10
11 #include "precomp.h"
12
13 TDI_STATUS InfoTransportLayerTdiQueryEx( UINT InfoClass,
14 UINT InfoType,
15 UINT InfoId,
16 PVOID Context,
17 TDIEntityID *id,
18 PNDIS_BUFFER Buffer,
19 PUINT BufferSize ) {
20 if( InfoClass == INFO_CLASS_GENERIC &&
21 InfoType == INFO_TYPE_PROVIDER &&
22 InfoId == ENTITY_TYPE_ID ) {
23 ULONG Temp = CL_TL_UDP;
24 return InfoCopyOut( (PCHAR)&Temp, sizeof(Temp), Buffer, BufferSize );
25 }
26
27 return TDI_INVALID_REQUEST;
28 }
29
30 TDI_STATUS InfoTransportLayerTdiSetEx( UINT InfoClass,
31 UINT InfoType,
32 UINT InfoId,
33 PVOID Context,
34 TDIEntityID *id,
35 PCHAR Buffer,
36 UINT BufferSize ) {
37 return TDI_INVALID_REQUEST;
38 }