Skip to content

Commit f6d8911

Browse files
committed
update docs
Signed-off-by: fufesou <[email protected]>
1 parent 5ab6042 commit f6d8911

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
This is a sample based on [Indirect Display Driver Sample](https://github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay).
1+
The sample based on [Indirect Display Driver Sample](https://github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay).
2+
3+
# [RustDeskIddDriver](./RustDeskIddDriver)
4+
5+
This project gives the following abilities:
6+
7+
1. Plugin and plugout monitors.
8+
2. Update monitor modes.
9+
10+
See [`IOCTL_CHANGER_IDD_PLUG_IN`](./RustDeskIddDriver/Public.h#L7) [`IOCTL_CHANGER_IDD_PLUG_OUT`](./RustDeskIddDriver/Public.h#L11) [`IOCTL_CHANGER_IDD_UPDATE_MONITOR_MODE`](./RustDeskIddDriver/Public.h#L15).
11+
12+
See [RustDeskIddApp](./RustDeskIddApp) for examples.
13+
14+
# [RustDeskIddApp](./RustDeskIddApp/README.md)
15+
16+
The test application to create device, install idd, and plugin monitors.
217

318
---
419
topic: sample

RustDeskIddApp/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# RustDeskIddDriver
2+
3+
This is a sample based on [Indirect Display Driver Sample](https://github.com/microsoft/Windows-driver-samples/tree/master/video/IndirectDisplay).
4+
5+
## Environment
6+
7+
Win10 or later
8+
9+
## Steps
10+
11+
1. Double click "RustDeskIddDriver.cer" to install cert.
12+
2. Run "RustDeskIddApp.exe" as administrator.
13+
Press "c" to create device. If you get 0xe0000247 error code. You should follow step 3.
14+
Press "i" to install. If you get 0xe0000247 error code. You should follow step 3.
15+
3. Disable Driver Signature Verification.
16+
17+
## Demo
18+
19+
If all are going right, you can see RustDeskIddDriver in your device manager.
20+
21+
## View logs
22+
23+
You need a TraceView.exe(contained in WDK).
24+
25+
```
26+
Launch TraceView.exe
27+
|
28+
v
29+
File
30+
|
31+
v
32+
Create New Log Session
33+
|
34+
v
35+
Add Provider
36+
|
37+
v
38+
Select PDB Path
39+
|
40+
v
41+
Ok --> Next --> Finish
42+
```
43+
44+
## TODOs

0 commit comments

Comments
 (0)