update
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3e5c70e6b4
commit
835c56330a
@ -231,46 +231,46 @@ using WCHAR = wchar_t;
|
|||||||
#define MAX_PATH 260
|
#define MAX_PATH 260
|
||||||
|
|
||||||
#define STATUS_SUCCESS \
|
#define STATUS_SUCCESS \
|
||||||
std::int32_t { 0 }
|
std::uint32_t { 0 }
|
||||||
#define STATUS_ACCESS_DENIED \
|
#define STATUS_ACCESS_DENIED \
|
||||||
std::int32_t { 0xC0000022L }
|
std::uint32_t { 0xC0000022L }
|
||||||
#define STATUS_DEVICE_BUSY \
|
#define STATUS_DEVICE_BUSY \
|
||||||
std::int32_t { 0x80000011L }
|
std::uint32_t { 0x80000011L }
|
||||||
#define STATUS_DEVICE_INSUFFICIENT_RESOURCES \
|
#define STATUS_DEVICE_INSUFFICIENT_RESOURCES \
|
||||||
std::int32_t { 0xC0000468L }
|
std::uint32_t { 0xC0000468L }
|
||||||
#define STATUS_DIRECTORY_NOT_EMPTY \
|
#define STATUS_DIRECTORY_NOT_EMPTY \
|
||||||
std::int32_t { 0xC0000101L }
|
std::uint32_t { 0xC0000101L }
|
||||||
#define STATUS_FILE_IS_A_DIRECTORY \
|
#define STATUS_FILE_IS_A_DIRECTORY \
|
||||||
std::int32_t { 0xC00000BAL }
|
std::uint32_t { 0xC00000BAL }
|
||||||
#define STATUS_FILE_TOO_LARGE \
|
#define STATUS_FILE_TOO_LARGE \
|
||||||
std::int32_t { 0xC0000904L }
|
std::uint32_t { 0xC0000904L }
|
||||||
#define STATUS_INSUFFICIENT_RESOURCES \
|
#define STATUS_INSUFFICIENT_RESOURCES \
|
||||||
std::int32_t { 0xC000009AL }
|
std::uint32_t { 0xC000009AL }
|
||||||
#define STATUS_INTERNAL_ERROR \
|
#define STATUS_INTERNAL_ERROR \
|
||||||
std::int32_t { 0xC00000E5L }
|
std::uint32_t { 0xC00000E5L }
|
||||||
#define STATUS_INVALID_ADDRESS \
|
#define STATUS_INVALID_ADDRESS \
|
||||||
std::int32_t { 0xC0000141L }
|
std::uint32_t { 0xC0000141L }
|
||||||
#define STATUS_INVALID_HANDLE \
|
#define STATUS_INVALID_HANDLE \
|
||||||
std::int32_t { 0xC0000006L }
|
std::uint32_t { 0xC0000006L }
|
||||||
#define STATUS_INVALID_IMAGE_FORMAT \
|
#define STATUS_INVALID_IMAGE_FORMAT \
|
||||||
std::int32_t { 0xC000007BL }
|
std::uint32_t { 0xC000007BL }
|
||||||
#define STATUS_INVALID_PARAMETER \
|
#define STATUS_INVALID_PARAMETER \
|
||||||
std::int32_t { 0xC000000DL }
|
std::uint32_t { 0xC000000DL }
|
||||||
#define STATUS_NO_MEMORY \
|
#define STATUS_NO_MEMORY \
|
||||||
std::int32_t { 0xC0000017L }
|
std::uint32_t { 0xC0000017L }
|
||||||
#define STATUS_NOT_IMPLEMENTED \
|
#define STATUS_NOT_IMPLEMENTED \
|
||||||
std::int32_t { 0xC0000002L }
|
std::uint32_t { 0xC0000002L }
|
||||||
#define STATUS_OBJECT_NAME_EXISTS \
|
#define STATUS_OBJECT_NAME_EXISTS \
|
||||||
std::int32_t { 0x40000000L }
|
std::uint32_t { 0x40000000L }
|
||||||
#define STATUS_OBJECT_NAME_NOT_FOUND \
|
#define STATUS_OBJECT_NAME_NOT_FOUND \
|
||||||
std::int32_t { 0xC0000034L }
|
std::int32_t { 0xC0000034L }
|
||||||
#define STATUS_OBJECT_PATH_INVALID \
|
#define STATUS_OBJECT_PATH_INVALID \
|
||||||
std::int32_t { 0xC0000039L }
|
std::uint32_t { 0xC0000039L }
|
||||||
#define STATUS_UNEXPECTED_IO_ERROR \
|
#define STATUS_UNEXPECTED_IO_ERROR \
|
||||||
std::int32_t { 0xC00000E9L }
|
std::uint32_t { 0xC00000E9L }
|
||||||
|
|
||||||
#define CONVERT_STATUS_NOT_IMPLEMENTED(e) \
|
#define CONVERT_STATUS_NOT_IMPLEMENTED(e) \
|
||||||
((std::int32_t{e} == STATUS_NOT_IMPLEMENTED) ? -ENOTSUP : e)
|
((std::uint32_t{e} == STATUS_NOT_IMPLEMENTED) ? -ENOTSUP : e)
|
||||||
|
|
||||||
namespace Fsp::FileSystemBase {
|
namespace Fsp::FileSystemBase {
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user