ReactOS  0.4.14-dev-854-gb9426a3
tigetprotocolnumber.c
Go to the documentation of this file.
1 #include "../../include/precomp.h"
2 #include "regtests.h"
3 
4 static void RunTest() {
5  UNICODE_STRING Str;
6  int Proto;
7  RtlInitUnicodeString( &Str, L"1" );
8  TiGetProtocolNumber( &Str, (PULONG)&Proto );
9  _AssertEqualValue(1, Proto);
10 }
11 
12 _Dispatcher(TigetprotocolnumberTest, "TiGetProtocolNumber");
_Dispatcher(TigetprotocolnumberTest, "TiGetProtocolNumber")
NTSTATUS TiGetProtocolNumber(PUNICODE_STRING FileName, PULONG Protocol)
Definition: proto.c:3
static const WCHAR L[]
Definition: oid.c:1250
unsigned int * PULONG
Definition: retypes.h:1
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
static void RunTest()