From driver to clipboard

Hi, people.

Sorry for possible offtopic, but is it possible for NT driver to
set information into the Clipboard?


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, it’s possible, but not directly from the driver.
The easiest way to to do this is to create a service
which communicates with the driver and which uses
user32.dll clipboard routines.

Hope this helps,
Paul

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ilia Rabinovich
Sent: Sunday, September 16, 2001 11:12 AM
To: File Systems Developers
Subject: [ntfsd] From driver to clipboard

Hi, people.

Sorry for possible offtopic, but is it possible for NT driver to
set information into the Clipboard?


You are currently subscribed to ntfsd as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

This is just a pointer for additional search. In W2K DDK (Supporting WMI)
there is a possibility for NT kernel components to access WMI classes (WMI
is Microsoft implementation of WBEM). WMI is by default on any W2K. To check
what WMI offers to its clients, you will have to download Windows
“Management Instrumentation (WMI) SDK” from Microsoft
(http://www.microsoft.com/msdownload/platformsdk/sdkupdate/) and look in
documentation. I have used WMI in the user space, and I know that there are
a lot of usable classes in the root\CIMV2 namespace that can be used to
interact with OS. You can also write your own WMI provider.
Wbr Primoz

-----Original Message-----
From: Ilia Rabinovich [mailto:xxxxx@chat.ru]
Sent: Sunday, September 16, 2001 11:12 AM
To: File Systems Developers
Subject: [ntfsd] From driver to clipboard

Hi, people.

Sorry for possible offtopic, but is it possible for NT driver to
set information into the Clipboard?


You are currently subscribed to ntfsd as: xxxxx@hermes.si
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Surely no, the kernel does not know on clipboard.
Write a helper user-mode app to do this.

Max

----- Original Message -----
From: “Ilia Rabinovich”
To: “File Systems Developers”
Sent: Sunday, September 16, 2001 1:12 PM
Subject: [ntfsd] From driver to clipboard

> Hi, people.
>
> Sorry for possible offtopic, but is it possible for NT driver to
> set information into the Clipboard?
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The Clipboard (and its contents) belong to the USER not the SYSTEM. It is
NOT appropriate for any piece of software to be changing the contents of the
clipboard unless the user specifically requests the change.

Imagine the following scenario: You are working on some vastly important
document; you clip the only copy of an critical piece of data from the
document to the clipboard; when you try to paste the data back, you find
it’s been destroyed by some badly-behaved application program without your
permission.

The clipboard’s only purpose is USER-INITIATED cutting and pasting. Read the
interface guidelines and stay away from the clipboard…

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Pavel Hrdina
Sent: Sunday, September 16, 2001 7:03 AM
To: File Systems Developers
Subject: [ntfsd] RE: From driver to clipboard

Yes, it’s possible, but not directly from the driver.
The easiest way to to do this is to create a service
which communicates with the driver and which uses
user32.dll clipboard routines.

Hope this helps,
Paul

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ilia Rabinovich
Sent: Sunday, September 16, 2001 11:12 AM
To: File Systems Developers
Subject: [ntfsd] From driver to clipboard

Hi, people.

Sorry for possible offtopic, but is it possible for NT driver to
set information into the Clipboard?


You are currently subscribed to ntfsd as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@nfr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com