MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / CTL_CODE_

Function CTL_CODE_

include/system/winapi.h:624–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622static inline constexpr const DWORD_ METHOD_BUFFERED_ = 0;
623static inline constexpr const DWORD_ FILE_ANY_ACCESS_ = 0;
624static inline constexpr DWORD_ CTL_CODE_(const DWORD_ DeviceType,
625 const DWORD_ Function,
626 const DWORD_ Method,
627 const DWORD_ Access) noexcept {
628 return (DeviceType << 16) | (Access << 14) | (Function << 2) | Method;
629}
630static inline constexpr const DWORD_ FSCTL_GET_REPARSE_POINT_ =
631 CTL_CODE_(FILE_DEVICE_FILE_SYSTEM_, 42, METHOD_BUFFERED_, FILE_ANY_ACCESS_);
632static inline constexpr const ULONG_ SYMLINK_FLAG_RELATIVE_ = 1;

Callers 1

winapi.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected