ReactOS  0.4.15-dev-3440-g915569a
tigetprotocolnumber.c File Reference
#include "../../include/precomp.h"
#include "regtests.h"
Include dependency graph for tigetprotocolnumber.c:

Go to the source code of this file.

Functions

static void RunTest ()
 
 _Dispatcher (TigetprotocolnumberTest, "TiGetProtocolNumber")
 

Function Documentation

◆ _Dispatcher()

_Dispatcher ( TigetprotocolnumberTest  ,
"TiGetProtocolNumber"   
)

◆ RunTest()

static void RunTest ( )
static

Definition at line 4 of file tigetprotocolnumber.c.

4  {
6  int Proto;
7  RtlInitUnicodeString( &Str, L"1" );
8  TiGetProtocolNumber( &Str, (PULONG)&Proto );
9  _AssertEqualValue(1, Proto);
10 }
#define L(x)
Definition: ntvdm.h:50
NTSTATUS TiGetProtocolNumber(PUNICODE_STRING FileName, PULONG Protocol)
Definition: proto.c:3
unsigned int * PULONG
Definition: retypes.h:1
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)