filter driver

Dear all

I tried to filter floppy disk via floppyUf.sys

I adapted IoAttachDevice(…) api and linked targetName like a L"\Device\Floppy0" as one of the input parameters in IoAttachDevice(…) api.

// ---------------------------------------------------------
RtlInitUnocedeString(&targetName, L"\Device\Floppy0");
code = IoAttachDevice(devObj, &targetName, &devExt->xxx);
// ---------------------------------------------------------

But the return code displayed 0xc0000034 (= STATUS_OBJECT_NAME_NOT_FOUND).

What’s wrong …?
Is there needed additonal essentail apis before IoAttachDevice…?

My machine has just one floppy disk…

anticipate your reply…

Best Regard
[???]-[Yun-Gun.JEONG]

Windows Developer
* Develop Windows NT/2000/XP (WDM) Kernel Mode Device Drivers
* NT Embedded Solution (Windows NT Embedded)
* Win32 Application & MFC programming

Embedded Real-Time Operating System
* VxWorks , RTX - Kernel Mode Device Drivers & Applications
* CompactPCI,PC,VME-based system solutions

Linux Kernel Developer
* Embedded Linux solutions with AstonLinux :www.astonlinux.com

[private : xxxxx@dreamwiz.com / xxxxx@empal.com]
[office : xxxxx@AstonLinux.com]


DreamWiz Free Mail @ http://www.dreamwiz.com/
DreamSearch Click the world!!! http://search.dreamwiz.com/