Skip to content

Commit d3848a1

Browse files
authored
Merge pull request #4030 from hexappp/patch-1
2 parents 5f763c6 + c4b65cc commit d3848a1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

windows-driver-docs-pr/bluetooth/installing-a-bluetooth-device.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &pr
5555

5656
LookupPrivilegeValue(NULL, SE_LOAD_DRIVER_NAME, &luid);
5757

58-
Tp.PrivilegeCount = 1;
59-
Tp.privileges[0].Luid = luid;
60-
Tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
58+
tp.PrivilegeCount = 1;
59+
tp.Privileges[0].Luid = luid;
60+
tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
6161

62-
AdjustTokenPrivileges(procToken, FALSE, &tp, sizeof(TOKEN_PRIVILEGES), (PTOKEN_PRIVILEGES) NULL, (PDWORD)NULL)
62+
AdjustTokenPrivileges(procToken, FALSE, &tp, sizeof(TOKEN_PRIVILEGES), (PTOKEN_PRIVILEGES) NULL, (PDWORD)NULL);
6363
```
6464
6565
## Profile driver INF file

0 commit comments

Comments
 (0)