Problem about UMDF filter driver for MTP devices

Problem: UMDF filter driver cannot be loaded

Purpose: turn MTP devices to readonly mode when they attached to computer
Method: make an UMDF filter driver for MTP devices
Compile environment: Windows 10 Pro 16299 + Visual Studio 2012 + SDK8.0 + WDK8.0
Test environment: Windows 7 Home SP1 7601

Steps:

  1. Open UMDF sample code (Sample UMDF Filter Driver above UMDF Function Driver for OSR USB-FX2 in WDK 8.0 Samples)
  2. Remove WUDFOsrUsbFx2 project
  3. Modify .inf file (inf file content will be posted at the end of this thread)
  4. Select project configuration (Win7 Release + x64)
  5. Build solution
  6. Sign file WudfOsrUsbFilter.dll and wudf.cat
  7. Copy package folder to test environment
    package folder file list: WdfCoinstaller01011.dll, winusbcoinstaller.dll, winusbcoinstaller2.dll, wudf.cat, WudfOsrUsbFilter.dll, WUDFOsrUsbFilterOnUmFx2Driver.Inf, WudfUpdate_01011.dll
  8. Install service by using dpinst.exe
  9. Plug in Android cellphone
  10. Check driver list in ‘Device Manager’ → ‘Portable Devices’ → ‘V30+’ → ‘Driver Details’

But I did find driver ‘WudfOsrUsbFilter.dll’ in that list.
What’s wrong with my operations? or what goes wrong with my .inf configuration?
I will be very appreciated if anyone could give me some suggestions. Thanks in advance.

setupapi.dev.log and .inf will be posted later.

Because the content size limitation, I also uploaded files to Google Drive.
setupapi.dev.log:
https://drive.google.com/file/d/1F0u8znlL9y2R1xR2y-H2o_IKiJ8z4Pp-/view?usp=sharing

WUDFOsrUsbFilterOnUmFx2Driver.Inf:
https://drive.google.com/file/d/10tn7QIdSVytoiT2dutm9rtOCN6F0ysx0/view?usp=sharing

===================================================== setupapi.dev.log begin ===================================================================

[Import Driver Package - c:\users\dengke\desktop\package\wudfosrusbfilteronumfx2driver.inf]
Section start 2019/09/27 11:15:00.725
cmd: “C:\Users\dengke\Desktop\Package\dpinst.exe”
sto: Importing driver package into Driver Store:
sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7601)
sto: Driver Package = c:\users\dengke\desktop\package\wudfosrusbfilteronumfx2driver.inf
sto: Architecture = amd64
sto: Locale Name = neutral
sto: Flags = 0x00000000
sto: Copying driver package files to ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’.
inf: Opened INF: ‘c:\users\dengke\desktop\package\wudfosrusbfilteronumfx2driver.inf’ ([strings])
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_neutral_28f06ca2e38e8979\wpdmtp.inf’ ([strings.0409])
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\winusb.inf_amd64_neutral_6cb50ae9f480775b\winusb.inf’ ([strings.0409])
inf: Opened INF: ‘c:\users\dengke\desktop\package\wudfosrusbfilteronumfx2driver.inf’ ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\dengke\desktop\package’
flq: SourceFilename - ‘WudfOsrUsbFilter.dll’
flq: TargetDirectory- ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\dengke\desktop\package’
flq: SourceFilename - ‘wudf.cat’
flq: TargetDirectory- ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\dengke\desktop\package’
flq: SourceFilename - ‘wudfosrusbfilteronumfx2driver.inf’
flq: TargetDirectory- ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [c:\users\dengke\desktop\package]
flq: SourceFile - [WudfOsrUsbFilter.dll]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\dengke\desktop\package\WudfOsrUsbFilter.dll’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET4549.tmp’
flq: MoveFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET4549.tmp’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\WudfOsrUsbFilter.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\dengke\desktop\package\wudf.cat’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET454A.tmp’
flq: MoveFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET454A.tmp’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudf.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\dengke\desktop\package\wudfosrusbfilteronumfx2driver.inf’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET454B.tmp’
flq: MoveFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\SET454B.tmp’
flq: to: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudfosrusbfilteronumfx2driver.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
pol: {Driver package policy check} 11:15:00.741
pol: {Driver package policy check - exit(0x00000000)} 11:15:00.741
sto: {Stage Driver Package: C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudfosrusbfilteronumfx2driver.inf} 11:15:00.741
inf: Opened INF: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudfosrusbfilteronumfx2driver.inf’ ([strings])
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\wpdmtp.inf_amd64_neutral_28f06ca2e38e8979\wpdmtp.inf’ ([strings.0409])
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\winusb.inf_amd64_neutral_6cb50ae9f480775b\winusb.inf’ ([strings.0409])
inf: Opened INF: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudfosrusbfilteronumfx2driver.inf’ ([strings])
sto: Copying driver package files:
sto: Source Path = C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: SourceFilename - ‘WudfOsrUsbFilter.dll’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: SourceFilename - ‘wudf.cat’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}’
flq: SourceFilename - ‘wudfosrusbfilteronumfx2driver.inf’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}]
flq: SourceFile - [WudfOsrUsbFilter.dll]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\WudfOsrUsbFilter.dll’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET4568.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET4568.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\WudfOsrUsbFilter.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudf.cat’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET4569.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET4569.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudf.cat’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\dengke\AppData\Local\Temp{7bb2ad45-2a13-3331-9a0d-bd1a83f1b164}\wudfosrusbfilteronumfx2driver.inf’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET456A.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\SET456A.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudfosrusbfilteronumfx2driver.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 11:15:00.756

 inf:           Opened INF: 'C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudfosrusbfilteronumfx2driver.inf' ([strings])
 sig:           {_VERIFY_FILE_SIGNATURE} 11:15:00.756
 sig:                Key      = wudfosrusbfilteronumfx2driver.inf
 sig:                FilePath = C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudfosrusbfilteronumfx2driver.inf
 sig:                Catalog  = C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudf.cat
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:                {SPFILENOTIFY_CABINETINFO}
 flq:                {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:                {SPFILENOTIFY_FILEEXTRACTED}
 flq:                {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}

! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 11:15:00.819
sig: {_VERIFY_FILE_SIGNATURE} 11:15:00.819
sig: Key = wudfosrusbfilteronumfx2driver.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudfosrusbfilteronumfx2driver.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudf.cat
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
flq: {SPFILENOTIFY_CABINETINFO}
flq: {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
flq: {SPFILENOTIFY_FILEEXTRACTED}
flq: {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
sig: Success: File is signed in Authenticode™ catalog.
sig: Error 0xe0000242: The publisher of an Authenticode™ signed catalog has not yet been established as trusted.
sig: {_VERIFY_FILE_SIGNATURE exit(0xe0000242)} 11:15:00.881
sto: Validating driver package files against catalog ‘wudf.cat’.
! sto: Driver package signer is unknown but user trusts the signer.

 flq:           {SPFILENOTIFY_CABINETINFO}
 flq:           {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:           {SPFILENOTIFY_FILEEXTRACTED}
 flq:           {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:           {SPFILENOTIFY_CABINETINFO}
 flq:           {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:           {SPFILENOTIFY_FILEEXTRACTED}
 flq:           {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 flq:           {SPFILENOTIFY_CABINETINFO}
 flq:           {SPFILENOTIFY_CABINETINFO - exit(0x00000000)}
 flq:           {SPFILENOTIFY_FILEEXTRACTED}
 flq:           {SPFILENOTIFY_FILEEXTRACTED - exit(0x00000000)}
 sto:           Driver package certificate was successfully installed.
 sto:      {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 11:15:03.767
 sto:      Verified driver package signature:
 sto:           Digital Signer Score = 0xFF000000
 sto:           Digital Signer Name  = <unknown>
 sto:      {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 11:15:03.767
 inf:           Opened INF: 'C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}\wudfosrusbfilteronumfx2driver.inf' ([strings])
 sto:           Create system restore point:
 sto:                Description = Device Driver Package Install: Asoft Internal (WDF:UMDF) Portable Devices
 sto:                Time        = 2449ms
 sto:                Status      = 0x00000000 (SUCCESS)
 sto:      {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 11:15:06.216
 sto:      Importing driver package files:
 sto:           Source Path      = C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}
 sto:           Destination Path = C:\Windows\System32\DriverStore\FileRepository\wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b
 sto:      {Copy Directory: C:\Windows\System32\DriverStore\Temp\{1a0631bb-32e7-34eb-d056-942bdff2345a}} 11:15:06.216
 sto:           Target Path = C:\Windows\System32\DriverStore\FileRepository\wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b
 sto:      {Copy Directory: exit(0x00000000)} 11:15:06.216
 sto:      {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b\wudfosrusbfilteronumfx2driver.inf} 11:15:06.216
 idb:           Registered driver store entry 'wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b'.
 idb:           Published 'wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b\wudfosrusbfilteronumfx2driver.inf' to 'C:\Windows\INF\oem9.inf'
 idb:           Published driver store entry 'wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b'.
 sto:           Published driver package INF 'oem9.inf' was changed.
 sto:           Active published driver package is 'wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b'.
 sto:      {Index Driver Package: exit(0x00000000)} 11:15:06.310
 sto:      {DRIVERSTORE_IMPORT_NOTIFY_END} 11:15:06.310
 sto:           Commit system restore point:
 sto:                Description = Device Driver Package Install: Asoft Internal (WDF:UMDF) Portable Devices
 sto:                Time        = 0ms
 sto:                Status      = 0x00000000 (SUCCESS)
 sto:      {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 11:15:06.310
 sto: {Stage Driver Package: exit(0x00000000)} 11:15:06.310
 ndv: Doing device matching lookup!
 sto: Driver package was staged to Driver Store. Time = 5585 ms
 sto: Imported driver package into Driver Store:
 sto:      Filename = C:\Windows\System32\DriverStore\FileRepository\wudfosrusbfilteronumfx2driver.inf_amd64_neutral_263bd446ab282c1b\wudfosrusbfilteronumfx2driver.inf
 sto:      Time     = 5616 ms

<<< Section end 2019/09/27 11:15:06.341
<<< [Exit status: SUCCESS]
===================================================== setupapi.dev.log end ===================================================================

==================================== WUDFOsrUsbFilterOnUmFx2Driver.inf begin ===================================================================
;
; WUDFOsrUsbFilterOnMTPDriver.inf - Install a UM Filter driver on an MTP device’
;

[Version]
Signature=“$Windows NT$”
Class=WPD
ClassGuid={EEC5AD98-8080-425f-922A-DABF3DE3F69A}
Provider=%MSFTUMDF%
DriverVer=02/03/2014,18.8.52.851
CatalogFile=wudf.cat

[Manufacturer]
%MSFTUMDF%=Microsoft,NTamd64

[Microsoft.NTamd64]
%OsrUsbDeviceName%=OsrUsb_Install, USB\VID_04E8&PID_6860&MI_00
%OsrUsbDeviceName%=OsrUsb_Install, USB\VID_04E8&PID_6860

[SourceDisksFiles]
WudfOsrUsbFilter.dll=1

[SourceDisksNames]
1 = %MediaDescription%

; =================== UMDF OSR Filter Driver ==================================

[OsrUsb_Install.NT]
CopyFiles=UMDriverCopy
Include = wpdmtp.inf, WINUSB.INF
Needs = WPD.MTP, WINUSB.NT

[OsrUsb_Install.NT.hw]
Include = wpdmtp.inf
Needs = WPD.MTP.Registration

[OsrUsb_Install.NT.Services]
Include = wpdmtp.inf
Needs = WPD.MTP.Services

[OsrUsb_Install.NT.Wdf]
Include = wpdmtp.inf
Needs = WPD.MTP.Wdf
UmdfService=WudfOsrUsbFilter, WudfOsrUsbFilter_Install
UmdfServiceOrder=WpdMtpDriver,WUDFOsrUsbFilter
UmdfKernelModeClientPolicy=AllowKernelModeClients
UmdfImpersonationLevel=Impersonation

[OsrUsb_Install.NT.CoInstallers]
Include = wpdmtp.inf
Needs = WPD.MTP.CoInstallers

[WudfOsrUsbFilter_Install]
UmdfLibraryVersion=1.11.0
DriverCLSID = “{422d8dbc-520d-4d7e-8f53-920e5c867e6c}”
ServiceBinary = “%12%\UMDF\WUDFOsrUsbFilter.dll”

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf

[UMDriverCopy]
WudfOsrUsbFilter.dll

; =================== Generic ==================================

[Strings]
MSFTUMDF=“Asoft Internal (WDF:UMDF)”
MediaDescription=“Microsoft UMDF OSR USB Sample Device Installation Media”
OsrUsbDeviceName=“Microsoft UMDF OSR Usb Sample Device With Filter on User-mode Driver”
===================================== WUDFOsrUsbFilterOnUmFx2Driver.inf end ===================================================================