代码之家  ›  专栏  ›  技术社区  ›  clyfe

.inf文件AddRegistry节标志的含义(HKR,,“UpperFilters”,0x00010008,“upperfilt”)0x00010008代表什么?

  •  0
  • clyfe  · 技术社区  · 14 年前

    MSDN Installing a Filter Driver

    [upperfilter_addreg] 第三部分是注册表行 HKR,,"UpperFilters",0x00010008,"upperfilt" .

    这个词是什么意思 0x00010008 旗帜?


    感谢微软提供了丰富的完整文档。

    :
    [DestinationDirs]
    upperfilter_copyfiles = 12
    
    [upperfilter_inst]
    CopyFiles = upperfilter_copyfiles
    AddReg = upperfilter_addreg
    
    [upperfilter_copyfiles]
    upperfilt.sys
    
    [upperfilter_addreg]
    ; append this service to existing REG_MULTI_SZ list, if any
    HKR,,"UpperFilters",0x00010008,"upperfilt" 
    
    [upperfilter_inst.Services]
    AddService = upperfilt,,upperfilter_service
    
    [upperfilter_service]
    DisplayName   = %upperfilter_ServiceDesc%
    ServiceType   = 1   ; SERVICE_KERNEL_DRIVER
    StartType     = 3   ; SERVICE_DEMAND_START
    ErrorControl  = 1   ; SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\upperfilt.sys
    :
    
    1 回复  |  直到 14 年前
        1
  •  1
  •   Christopher    14 年前

    WDK .

    应该是

    FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND