Click here to Skip to main content
14,607,304 members

C / C++ / MFC

 
GeneralRe: Windows CBT Hooks Pin
leon de boer16-Apr-20 4:02
Memberleon de boer16-Apr-20 4:02 
GeneralRe: Windows CBT Hooks Pin
Richard Andrew x6416-Apr-20 6:12
professionalRichard Andrew x6416-Apr-20 6:12 
GeneralRe: Windows CBT Hooks Pin
leon de boer16-Apr-20 6:25
Memberleon de boer16-Apr-20 6:25 
QuestionAccessing HDD drive Pin
_Flaviu14-Apr-20 9:32
Member_Flaviu14-Apr-20 9:32 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan14-Apr-20 21:14
mveRichard MacCutchan14-Apr-20 21:14 
GeneralRe: Accessing HDD drive Pin
_Flaviu16-Apr-20 7:23
Member_Flaviu16-Apr-20 7:23 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan16-Apr-20 9:28
mveRichard MacCutchan16-Apr-20 9:28 
GeneralRe: Accessing HDD drive Pin
Member 798912216-Apr-20 10:57
MemberMember 798912216-Apr-20 10:57 
I haven't gotten around to check this out myself yet, but I am studying the "Windows Internals" book by Mark Russinovich (the guy creating the Sysinternals suite). There I found that the object name \Device\HarddiskX\DRX (with 'X' being replaced by a digit from 0 upwards; you can find it using the Sysinternals WinObj utility).

It is not clear to me when to use this name and when to use the \Global??\PhysicalDriveX name. Russinovich writes that "The Windows application layer converts the name to \Global??\PhysicalDriveX berofe handling the name to the Windwows object manager" - it seems like that PhysicalDriveX format is some old legacy format. It is far from clear to me!

So you may try a Global??\ prefix, or you might try \Device\HarddiskX\DRX (appearently with X replaced by 2 in your case). When you find out what works, tell it, and I will use it when I get that far myself!
GeneralRe: Accessing HDD drive Pin
JudyL_MD17-Apr-20 4:48
MemberJudyL_MD17-Apr-20 4:48 
GeneralRe: Accessing HDD drive Pin
_Flaviu19-Apr-20 2:32
Member_Flaviu19-Apr-20 2:32 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan19-Apr-20 3:01
mveRichard MacCutchan19-Apr-20 3:01 
GeneralRe: Accessing HDD drive Pin
Richard MacCutchan19-Apr-20 3:25
mveRichard MacCutchan19-Apr-20 3:25 
GeneralRe: Accessing HDD drive Pin
_Flaviu19-Apr-20 8:48
Member_Flaviu19-Apr-20 8:48 
GeneralRe: Accessing HDD drive Pin
JudyL_MD19-Apr-20 4:31
MemberJudyL_MD19-Apr-20 4:31 
Questionvoid type Pin
CalinNegru(fearless_)10-Apr-20 22:20
MemberCalinNegru(fearless_)10-Apr-20 22:20 
AnswerRe: void type Pin
Richard MacCutchan10-Apr-20 22:25
mveRichard MacCutchan10-Apr-20 22:25 
GeneralRe: void type Pin
CalinNegru(fearless_)10-Apr-20 22:44
MemberCalinNegru(fearless_)10-Apr-20 22:44 
GeneralRe: void type Pin
Richard MacCutchan10-Apr-20 23:18
mveRichard MacCutchan10-Apr-20 23:18 
GeneralRe: void type Pin
Member 798912211-Apr-20 1:22
MemberMember 798912211-Apr-20 1:22 
GeneralRe: void type Pin
CalinNegru(fearless_)11-Apr-20 10:25
MemberCalinNegru(fearless_)11-Apr-20 10:25 
GeneralRe: void type Pin
Member 798912211-Apr-20 11:36
MemberMember 798912211-Apr-20 11:36 
GeneralRe: void type Pin
Richard MacCutchan11-Apr-20 23:40
mveRichard MacCutchan11-Apr-20 23:40 
GeneralRe: void type Pin
Member 798912211-Apr-20 12:01
MemberMember 798912211-Apr-20 12:01 
GeneralRe: void type Pin
Greg Utas12-Apr-20 0:20
professionalGreg Utas12-Apr-20 0:20 
GeneralRe: void type Pin
leon de boer11-Apr-20 21:51
Memberleon de boer11-Apr-20 21:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.