Skip to content

Commit

Permalink
Remove invalid INF DeviceInstall32 (microsoft#811)
Browse files Browse the repository at this point in the history
* Remove invalid INF DeviceInstall32

Removes from the sample an invalid API call.

* Update to SimpleMediaSource.inf

Fixes to use public installation path
  • Loading branch information
gerritsMSFT authored Jan 12, 2023
1 parent 5934a93 commit 92042ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions general/SimpleMediaSource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ For more information, see the accompanying documentation at [Frame Server Custom

1. Deploy the driver package with the following command:

`devcon dp_add SimpleMediaSourceDriver.inf`
`devgen /add /bus ROOT /hardwareid root\SimpleMediaSource`
`pnputil /add-driver SimpleMediaSourceDriver.inf /install`

1. In Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient.
1. Verify installation with Device Manager, locate **SimpleMediaSource Capture Source**, under the Camera category. If device does not appear there, check %windir%\inf\setupapi.dev.log for installation logs. The device instance ID will be available as the output of the devgen command and can be used as input to pnputil to determine status of the device.

`pnputil /enum-devices /instanceid "<InstanceID of SimpleMediaSource>" /deviceids /services /stack /drivers`

1. Open the Microsoft Camera App, switch cameras if necessary until the camera is streaming from the SimpleMediaSource. You should see a scrolling black and white gradient.
Binary file not shown.

0 comments on commit 92042ea

Please sign in to comment.