Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

utlnpqos.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1989 Microsoft Corporation 00004 00005 Module Name: 00006 00007 utlnpqos.c 00008 00009 Abstract: 00010 00011 Security component user-mode test. 00012 00013 Security quality of service test for Local Named Pipes from user mode. 00014 00015 This test must be run from the SM> prompt in the debugger. 00016 00017 Author: 00018 00019 Jim Kelly (JimK) 27-June-1990 00020 00021 Revision History: 00022 00023 --*/ 00024 00025 #include <stdio.h> 00026 #include <nt.h> 00027 #include <ntrtl.h> 00028 #include <nturtl.h> 00029 #include <string.h> 00030 00031 #define _TST_USER_ // User mode test 00032 00033 typedef ULONG NAMED_PIPE_TYPE; 00034 typedef NAMED_PIPE_TYPE *PNAMED_PIPE_TYPE; 00035 00036 00037 typedef ULONG READ_MODE; 00038 typedef READ_MODE *PREAD_MODE; 00039 00040 typedef ULONG COMPLETION_MODE; 00041 typedef COMPLETION_MODE *PCOMPLETION_MODE; 00042 00043 typedef ULONG NAMED_PIPE_CONFIGURATION; 00044 typedef NAMED_PIPE_CONFIGURATION *PNAMED_PIPE_CONFIGURATION; 00045 00046 typedef ULONG NAMED_PIPE_STATE; 00047 typedef NAMED_PIPE_STATE *PNAMED_PIPE_STATE; 00048 00049 typedef ULONG NAMED_PIPE_END; 00050 typedef NAMED_PIPE_END *PNAMED_PIPE_END; 00051 00052 00053 #include "tsecomm.c" // Common routines 00054 #include "ctlnpqos.c" // quality of service tests 00055 00056 00057 00058 00059 00060 BOOLEAN 00061 Test() 00062 { 00063 BOOLEAN Result = TRUE; 00064 00065 00066 Result = CtLnpQos(); 00067 00068 00069 return Result; 00070 } 00071 00072 BOOLEAN 00073 main() 00074 { 00075 return Test(); 00076 } 00077 

Generated on Sat May 15 19:42:17 2004 for test by doxygen 1.3.7