Status codes returned by Windows NT system calls.
More...
#include <NTSTATUS.hh>
Status codes returned by Windows NT system calls.
- Examples
- ivreadfile.cc, and ivwritefile.cc.
◆ NTSTATUS() [1/5]
| introvirt::windows::nt::NTSTATUS::NTSTATUS |
( |
| ) |
|
◆ NTSTATUS() [2/5]
| introvirt::windows::nt::NTSTATUS::NTSTATUS |
( |
uint32_t |
value | ) |
|
◆ NTSTATUS() [3/5]
Create an NTSTATUS with the given value
- Parameters
-
◆ NTSTATUS() [4/5]
| introvirt::windows::nt::NTSTATUS::NTSTATUS |
( |
const NTSTATUS & |
other | ) |
|
Copy constructor. Create an NTSTATUS from the given value.
- Parameters
-
◆ NTSTATUS() [5/5]
| introvirt::windows::nt::NTSTATUS::NTSTATUS |
( |
NTSTATUS && |
other | ) |
|
Move constructor
- Parameters
-
| other | The temporary to move from |
◆ ~NTSTATUS()
| introvirt::windows::nt::NTSTATUS::~NTSTATUS |
( |
| ) |
|
◆ code()
- Returns
- The NTSTATUS_CODE value of this code
◆ initialized()
| bool introvirt::windows::nt::NTSTATUS::initialized |
( |
| ) |
const |
- Returns
- True if this status has been set to a value other than STATUS_WINTROVIRT_UNINITIALIZED
◆ json()
| Json::Value introvirt::windows::nt::NTSTATUS::json |
( |
| ) |
const |
◆ NT_ERROR() [1/2]
| bool introvirt::windows::nt::NTSTATUS::NT_ERROR |
( |
| ) |
const |
- Returns
- True if this status is considered a error
◆ NT_ERROR() [2/2]
| static bool introvirt::windows::nt::NTSTATUS::NT_ERROR |
( |
NTSTATUS_CODE |
code | ) |
|
|
static |
- Returns
- True if the given status code is an error
◆ NT_INFORMATION() [1/2]
| bool introvirt::windows::nt::NTSTATUS::NT_INFORMATION |
( |
| ) |
const |
NT_INFORMATION also implies NT_SUCCESS
- Returns
- True if this status is informational
◆ NT_INFORMATION() [2/2]
| static bool introvirt::windows::nt::NTSTATUS::NT_INFORMATION |
( |
NTSTATUS_CODE |
code | ) |
|
|
static |
Information is a special type of NT_SUCCESS. A result can be both.
- Returns
- True if the given status code is considered informational.
◆ NT_SUCCESS() [1/2]
| bool introvirt::windows::nt::NTSTATUS::NT_SUCCESS |
( |
| ) |
const |
- Returns
- True if this status is a success
◆ NT_SUCCESS() [2/2]
| static bool introvirt::windows::nt::NTSTATUS::NT_SUCCESS |
( |
NTSTATUS_CODE |
code | ) |
|
|
static |
- Returns
- True if the given status code is considered a success
◆ NT_WARNING() [1/2]
| bool introvirt::windows::nt::NTSTATUS::NT_WARNING |
( |
| ) |
const |
- Returns
- True if this status is considered a warning
◆ NT_WARNING() [2/2]
| static bool introvirt::windows::nt::NTSTATUS::NT_WARNING |
( |
NTSTATUS_CODE |
code | ) |
|
|
static |
- Returns
- True if the given status code is a warning
◆ operator bool()
| introvirt::windows::nt::NTSTATUS::operator bool |
( |
| ) |
const |
|
explicit |
◆ operator Json::Value()
| introvirt::windows::nt::NTSTATUS::operator Json::Value |
( |
| ) |
const |
◆ operator NTSTATUS_CODE()
| introvirt::windows::nt::NTSTATUS::operator NTSTATUS_CODE |
( |
| ) |
const |
◆ operator uint32_t()
| introvirt::windows::nt::NTSTATUS::operator uint32_t |
( |
| ) |
const |
|
explicit |
◆ operator=() [1/2]
| NTSTATUS & introvirt::windows::nt::NTSTATUS::operator= |
( |
const NTSTATUS & |
other | ) |
|
Assignment operator
- Parameters
-
- Returns
- The copy result
◆ operator=() [2/2]
Move assignment operator
- Parameters
-
- Returns
- The move result
◆ value()
| uint32_t introvirt::windows::nt::NTSTATUS::value |
( |
| ) |
const |
- Returns
- The integer value of the status
- Examples
- ivexec.cc.
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/windows/kernel/nt/const/NTSTATUS.hh