You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
847 B
57 lines
847 B
|
|
/*++
|
|
|
|
Copyright (c) 1989 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
utsertl.c
|
|
|
|
Abstract:
|
|
|
|
Security component user-mode test.
|
|
Test security RTL routines from user mode.
|
|
|
|
Author:
|
|
|
|
Jim Kelly (JimK) 13-Apr-1990
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
|
|
#define _TST_USER_ // User mode test
|
|
|
|
#include "tsevars.c" // Common test variables
|
|
|
|
#include "ctsertl.c" // Common RTL test routines
|
|
|
|
|
|
BOOLEAN
|
|
turtl()
|
|
{
|
|
BOOLEAN Result;
|
|
|
|
DbgPrint("Se: Start User Mode RTL Test...\n");
|
|
|
|
Result = TestSeRtl();
|
|
|
|
if (!Result) {
|
|
DbgPrint("Se: ** User Mode RTL Test Failed **\n");
|
|
}
|
|
DbgPrint("Se: End User Mode RTL Test.\n");
|
|
return Result;
|
|
}
|
|
|
|
NTSTATUS
|
|
__cdecl
|
|
main()
|
|
{
|
|
turtl();
|
|
|
|
return STATUS_SUCCESS;
|
|
}
|