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

raisests.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1990 Microsoft Corporation 00004 00005 Module Name: 00006 00007 raisests.c 00008 00009 Abstract: 00010 00011 This module implements the routine that raises an exception given a 00012 specific status value. 00013 00014 Author: 00015 00016 David N. Cutler (davec) 8-Aug-1990 00017 00018 Environment: 00019 00020 Any mode. 00021 00022 Revision History: 00023 00024 --*/ 00025 00026 #include "ntrtlp.h" 00027 00028 VOID 00029 RtlRaiseStatus ( 00030 IN NTSTATUS Status 00031 ) 00032 00033 /*++ 00034 00035 Routine Description: 00036 00037 This function raises an exception with the specified status value. The 00038 exception is marked as continuable with no parameters. 00039 00040 Arguments: 00041 00042 Status - Supplies the status value to be used as the exception code 00043 for the exception that is to be raised. 00044 00045 Return Value: 00046 00047 None. 00048 00049 --*/ 00050 00051 { 00052 00053 EXCEPTION_RECORD ExceptionRecord; 00054 00055 // 00056 // Construct an exception record. 00057 // 00058 00059 ExceptionRecord.ExceptionCode = Status; 00060 ExceptionRecord.ExceptionRecord = (PEXCEPTION_RECORD)NULL; 00061 ExceptionRecord.NumberParameters = 0; 00062 ExceptionRecord.ExceptionFlags = EXCEPTION_NONCONTINUABLE; 00063 RtlRaiseException(&ExceptionRecord); 00064 return; 00065 }

Generated on Sat May 15 19:41:36 2004 for test by doxygen 1.3.7