libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::FILE_MODE_INFORMATION Class Referenceabstract

#include <FILE_MODE_INFORMATION.hh>

Inheritance diagram for introvirt::windows::nt::FILE_MODE_INFORMATION:
Collaboration diagram for introvirt::windows::nt::FILE_MODE_INFORMATION:

Public Member Functions

virtual uint32_t Mode () const =0
 
virtual void Mode (uint32_t value)=0
 
bool WriteThrough () const
 Check if the FILE_WRITE_THROUGH flag is set.
 
bool SequentialOnly () const
 Check if the FILE_SEQUENTIAL_ONLY flag is set.
 
bool NoIntermediateBuffering () const
 Check if the FILE_NO_INTERMEDIATE_BUFFERING flag is set.
 
bool SynchronousIoAlert () const
 Check if the FILE_SYNCHRONOUS_IO_ALERT flag is set.
 
bool SynchronousIoNonAlert () const
 Check if the FILE_SYNCHRONOUS_IO_NONALERT flag is set.
 
bool DeleteOnClose () const
 Check if the FILE_DELETE_ON_CLOSE flag is set.
 
- Public Member Functions inherited from introvirt::windows::nt::FILE_INFORMATION
virtual FILE_INFORMATION_CLASS FileInformationClass () const =0
 Get the type of file information held in the buffer.
 
virtual guest_ptr< void > ptr () const =0
 Get the address that the buffer is at.
 
virtual uint32_t buffer_size () const =0
 Get the size of the buffer.
 
virtual void write (std::ostream &os, const std::string &linePrefix="") const =0
 Write a description to the ostream.
 
virtual Json::Value json () const =0
 Return the file information class as a JSON representation.
 
virtual ~FILE_INFORMATION ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from introvirt::windows::nt::FILE_INFORMATION
static std::unique_ptr< FILE_INFORMATIONmake_unique (const NtKernel &kernel, FILE_INFORMATION_CLASS information_class, const guest_ptr< void > &ptr, uint32_t buffer_size)
 Create a KEY_VALUE_INFORMATION parser instance.
 

Member Function Documentation

◆ DeleteOnClose()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::DeleteOnClose ( ) const

Check if the FILE_DELETE_ON_CLOSE flag is set.

Returns
true if FILE_DELETE_ON_CLOSE is set
false if FILE_DELETE_ON_CLOSE is not set

◆ Mode() [1/2]

virtual uint32_t introvirt::windows::nt::FILE_MODE_INFORMATION::Mode ( ) const
pure virtual

◆ Mode() [2/2]

virtual void introvirt::windows::nt::FILE_MODE_INFORMATION::Mode ( uint32_t  value)
pure virtual

◆ NoIntermediateBuffering()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::NoIntermediateBuffering ( ) const

Check if the FILE_NO_INTERMEDIATE_BUFFERING flag is set.

Returns
true if FILE_NO_INTERMEDIATE_BUFFERING is set
false if FILE_NO_INTERMEDIATE_BUFFERING is not set

◆ SequentialOnly()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::SequentialOnly ( ) const

Check if the FILE_SEQUENTIAL_ONLY flag is set.

Returns
true if FILE_SEQUENTIAL_ONLY is set
false if FILE_SEQUENTIAL_ONLY is not set

◆ SynchronousIoAlert()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::SynchronousIoAlert ( ) const

Check if the FILE_SYNCHRONOUS_IO_ALERT flag is set.

Returns
true if FILE_SYNCHRONOUS_IO_ALERT is set
false if FILE_SYNCHRONOUS_IO_ALERT is not set

◆ SynchronousIoNonAlert()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::SynchronousIoNonAlert ( ) const

Check if the FILE_SYNCHRONOUS_IO_NONALERT flag is set.

Returns
true if FILE_SYNCHRONOUS_IO_NONALERT is set
false if FILE_SYNCHRONOUS_IO_NONALERT is not set

◆ WriteThrough()

bool introvirt::windows::nt::FILE_MODE_INFORMATION::WriteThrough ( ) const

Check if the FILE_WRITE_THROUGH flag is set.

Returns
true if FILE_WRITE_THROUGH is set
false if FILE_WRITE_THROUGH is not set

The documentation for this class was generated from the following file: