Hi,
I want to capture the action of double-clicking a folder or a volume via FS minifilter driver. Because when we double-clicking a folder or a volume, we can receive IRP_CREATE, so I want to realze it through filtering IRP_CREATE. But the question is that, when we select a folder/volume, single-click a folder/volume or right-click a folder/volume, we can also receive IRP_CREATE. I want to know how to distinguish these actions through FS minifilter driver. (I doubt whether it is available to capture double-click a folder/volume though FS minifilter driver?)
best wishes!
You cannot do this in the kernel. A file system driver will not have any
knowledge of what is causing the create.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
wrote in message news:xxxxx@ntfsd…
> Hi,
> I want to capture the action of double-clicking a folder or a volume via
> FS minifilter driver. Because when we double-clicking a folder or a
> volume, we can receive IRP_CREATE, so I want to realze it through
> filtering IRP_CREATE. But the question is that, when we select a
> folder/volume, single-click a folder/volume or right-click a
> folder/volume, we can also receive IRP_CREATE. I want to know how to
> distinguish these actions through FS minifilter driver. (I doubt whether
> it is available to capture double-click a folder/volume though FS
> minifilter driver?)
>
> best wishes!
>
Hi, thku .
Actually, I want to realize this application: when I double-click a folder or a volume, the folder/volume will appear a Dialog box needing I input username and password. If the username and password are corret, I can then get into the folder/volume and access it. Do u mean my FS minifilter doesn’t work for this application? or It can only be realized through Application, not kernal.
best wishes!
You cannot do this any way. There is nothing specific to double click that cannot appear in single click. Don’t try.
xxxxx@yahoo.com.cn wrote:
Hi, thku .
Actually, I want to realize this application: when I double-click a folder or a volume, the folder/volume will appear a Dialog box needing I input username and password. If the username and password are corret, I can then get into the folder/volume and access it. Do u mean my FS minifilter doesn’t work for this application? or It can only be realized through Application, not kernal.
best wishes!
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@alfasp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
–
Kind regards, Dejan
http://www.alfasp.com
File system audit, security and encryption kits.
FS minifilters do not know what “double click” is.
Only the shell knows this, so, you need a user-mode shell extension
(context menu handler for a default verb).
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hi,
> I want to capture the action of double-clicking a folder or a volume via FS
minifilter driver. Because when we double-clicking a folder or a volume, we can
receive IRP_CREATE, so I want to realze it through filtering IRP_CREATE. But
the question is that, when we select a folder/volume, single-click a
folder/volume or right-click a folder/volume, we can also receive IRP_CREATE. I
want to know how to distinguish these actions through FS minifilter driver. (I
doubt whether it is available to capture double-click a folder/volume though FS
minifilter driver?)
>
> best wishes!
>
And that won’t work for anything else 
“Maxim S. Shatskih” wrote:
FS minifilters do not know what “double click” is.
Only the shell knows this, so, you need a user-mode shell extension
(context menu handler for a default verb).
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> > Hi,
> > I want to capture the action of double-clicking a folder or a volume via FS
> minifilter driver. Because when we double-clicking a folder or a volume, we can
> receive IRP_CREATE, so I want to realze it through filtering IRP_CREATE. But
> the question is that, when we select a folder/volume, single-click a
> folder/volume or right-click a folder/volume, we can also receive IRP_CREATE. I
> want to know how to distinguish these actions through FS minifilter driver. (I
> doubt whether it is available to capture double-click a folder/volume though FS
> minifilter driver?)
> >
> > best wishes!
> >
>
> —
> Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@alfasp.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
–
Kind regards, Dejan
http://www.alfasp.com
File system audit, security and encryption kits.
What the world needs is IRP_MJ_SHELL, then we could have IRP_MN_CUT,
IRP_MN_PASTE, IRP_MN_COPY, IRP_MN_DELETE_BUT_ITS_REALLY_A_RENAME.
Sorry. Long day.
No. It must be IRP_MJ_EXPLODER. Long day too 
“Rod Widdowson” wrote in message
news:xxxxx@ntfsd…
> What the world needs is IRP_MJ_SHELL, then we could have IRP_MN_CUT,
> IRP_MN_PASTE, IRP_MN_COPY, IRP_MN_DELETE_BUT_ITS_REALLY_A_RENAME.
>
> Sorry. Long day.
>
>