ReactOS  0.4.14-dev-608-gd495a4f
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  {
5  UNICODE_STRING Str;
6  int Proto;
7  RtlInitUnicodeString( &Str, L"1" );
8  TiGetProtocolNumber( &Str, (PULONG)&Proto );
9  _AssertEqualValue(1, Proto);
10 }
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)