module RubySMB
  module Dcerpc
    module Efsrpc

      # [3.1.4.2.1 EfsRpcOpenFileRaw (Opnum 0)](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-efsr/ccc4fb75-1c86-41d7-bbc4-b278ec13bfb8)
      class EfsRpcOpenFileRawResponse < BinData::Record
        attr_reader :opnum

        endian :little

        ndr_context_handle :h_context
        ndr_uint32         :error_status

        def initialize_instance
          super
          @opnum = EFS_RPC_OPEN_FILE_RAW
        end
      end
    end
  end
end
