test: raise.c File Reference

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

# raise.c File Reference

`#include "exp.h"`

Go to the source code of this file.

## Functions

VOID | ExRaiseAccessViolation (VOID)
VOID | ExRaiseDatatypeMisalignment (VOID)

## Function Documentation

VOID ExRaiseAccessViolation | ( | VOID |  | ) |

Definition at line 44 of file raise.c.

References ExRaiseStatus().

Referenced by ProbeForRead(), and ProbeForWrite().

    00050                    :
    00051
    00052     This function raises an access violation exception.
    00053
    00054 Arguments:
    00055
    00056     None.
    00057
    00058 Return Value:
    00059
    00060     None.
    00061
    00062 --*/
    00063
    00064 {
    00065
    00066     ExRaiseStatus(STATUS_ACCESS_VIOLATION);
    00067     return;
    00068 }

VOID ExRaiseDatatypeMisalignment | ( | VOID |  | ) |

Definition at line 71 of file raise.c.

References ExRaiseStatus().

Referenced by MESSAGECALL(), ProbeForRead(), ProbeForWrite(), and SeCaptureSecurityDescriptor().

    00077                    :
    00078
    00079     This function raises a datatype misalignment exception.
    00080
    00081 Arguments:
    00082
    00083     None.
    00084
    00085 Return Value:
    00086
    00087     None.
    00088
    00089 --*/
    00090
    00091 {
    00092
    00093     ExRaiseStatus(STATUS_DATATYPE_MISALIGNMENT);
    00094     return;
    00095 }
    }