libintrovirt
v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
IO_STATUS_RESULT.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Assured Information Security, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#pragma once
17
18
#include <string>
19
20
namespace
introvirt
{
21
namespace
windows {
22
namespace
nt {
23
24
enum class
IO_STATUS_RESULT
{
25
FILE_SUPERSEDED
= 0,
26
FILE_OPENED
= 1,
27
FILE_CREATED
= 2,
28
FILE_OVERWRITTEN
= 3,
29
FILE_EXISTS
= 4,
30
FILE_DOES_NOT_EXIST
= 5,
31
FILE_RESULT_UNAVAILABLE
= -1,
32
IO_STATUS_RESULT_INVALID
= -2,
33
};
34
35
const
std::string&
to_string
(
IO_STATUS_RESULT
type);
36
37
}
// namespace nt
38
}
// namespace windows
39
}
// namespace introvirt
introvirt::windows::nt::IO_STATUS_RESULT
IO_STATUS_RESULT
Definition
IO_STATUS_RESULT.hh:24
introvirt::windows::nt::IO_STATUS_RESULT::FILE_OVERWRITTEN
@ FILE_OVERWRITTEN
introvirt::windows::nt::IO_STATUS_RESULT::FILE_DOES_NOT_EXIST
@ FILE_DOES_NOT_EXIST
introvirt::windows::nt::IO_STATUS_RESULT::FILE_OPENED
@ FILE_OPENED
introvirt::windows::nt::IO_STATUS_RESULT::FILE_SUPERSEDED
@ FILE_SUPERSEDED
introvirt::windows::nt::IO_STATUS_RESULT::FILE_EXISTS
@ FILE_EXISTS
introvirt::windows::nt::IO_STATUS_RESULT::FILE_CREATED
@ FILE_CREATED
introvirt::windows::nt::IO_STATUS_RESULT::FILE_RESULT_UNAVAILABLE
@ FILE_RESULT_UNAVAILABLE
introvirt::windows::nt::IO_STATUS_RESULT::IO_STATUS_RESULT_INVALID
@ IO_STATUS_RESULT_INVALID
introvirt::windows::nt::to_string
const std::string & to_string(APPHELPCACHESERVICECLASS val)
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20