Re: Notifications to a DLL
From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 07/20/04
- Next message: Maxim S. Shatskih: "Re: Detaching a device"
- Previous message: shahar: "Re: Detaching a device"
- In reply to: Dennis Burns: "Notifications to a DLL"
- Next in thread: Dennis Burns: "Re: Notifications to a DLL"
- Reply: Dennis Burns: "Re: Notifications to a DLL"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 20:44:16 +0400
> I can see that there is an SDK Platform function RegisterDeviceNotification
> that allows user code to register for a callback to a window or service. But
> I don't have either in my dll.
Create a thread in your DLL, then create a window in it and spin the message
loop. The notifications will be called by this thread.
> Can I use the IoRegisterPlugPlayNotification function and locate the
> callback function be in my (user mode) dll?
You cannot use Ioxxx functions in the user mode DLL.
-- Maxim Shatskih, Windows DDK MVP StorageCraft Corporation maxim@storagecraft.com http://www.storagecraft.com
- Next message: Maxim S. Shatskih: "Re: Detaching a device"
- Previous message: shahar: "Re: Detaching a device"
- In reply to: Dennis Burns: "Notifications to a DLL"
- Next in thread: Dennis Burns: "Re: Notifications to a DLL"
- Reply: Dennis Burns: "Re: Notifications to a DLL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|