Sha256: f08b5e75e79ab046f2b6412ddf828fb2d784bff72369de4f781b365dff73d4e2

Contents?: true

Size: 1.23 KB

Versions: 10

Compression:

Stored size: 1.23 KB

Contents

require 'ruby_smb/dcerpc/ndr'

module RubySMB
  module Dcerpc
    module Svcctl

      class LpBoundedDword8k < BinData::Uint32le; end

      # [2.2.15 QUERY_SERVICE_CONFIGW](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/97200665-5631-42ea-9917-6f9b41f02391)
      class QueryServiceConfigW < RubySMB::Dcerpc::Ndr::NdrStruct
        endian :little

        uint32     :dw_service_type
        uint32     :dw_start_type
        uint32     :dw_error_control
        ndr_lp_str :lp_binary_path_name
        ndr_lp_str :lp_load_order_group
        uint32     :dw_tag_id
        ndr_lp_str :lp_dependencies
        ndr_lp_str :lp_service_start_name
        ndr_lp_str :lp_display_name

      end

      # [3.1.4.17 RQueryServiceConfigW (Opnum 17)](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/89e2d5b1-19cf-44ca-969f-38eea9fe7f3c)
      class QueryServiceConfigWResponse < BinData::Record
        attr_reader :opnum

        endian :little

        query_service_config_w :lp_service_config
        lp_bounded_dword8k     :pcb_bytes_needed
        uint32                 :error_status

        def initialize_instance
          super
          @opnum = QUERY_SERVICE_CONFIG_W
        end
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_smb-2.0.12 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.11 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.10 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.9 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.8 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.7 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.6 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.5 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.4 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb
ruby_smb-2.0.3 lib/ruby_smb/dcerpc/svcctl/query_service_config_w_response.rb