WDF Class Filter Driver Installation
Hi,
I was wondering if anyone had experience installing a CLASS filter
driver on an already existing setup class. I have found limited
resources on the subject (at least for a class filter driver), and I
haven't found anything on msdn on how to install a class filter driver
with WDF. Their link points to here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devinst_d/hh/DevInst_d/specinst_708d78ad-ba66-40a0-946a-a0bb261e8a8a.xml.asp
which directs you to use an app to do the following:
1. Call SetupInstallFilesFromInfSection for the [upperfilter_inst]
section.
2. Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services] section.
3. Call SetupInstallFromInfSection for the [upperfilter_inst]
section, once for each class key it wants to register the upperfilt
service for.
However, I think WDF is a different beast as it requires the
wdfcoinstaller to install the runtime. So I am not sure if this method
is what I should do (and besides it didn't work). So, I found from
osronline that with wdf we are supposed to use WdfPreDeviceInstall and
WdfPostDeviceInstall. How do these fit in with a class filter driver?
>From what I understand, I can use those functions along with
CreateService to install my filter driver's service, but what about
registration? As far as I know step 3 in the older documentation says
to use SetupInstallFromInfSection to register the class filter driver.
Does that only add the "UpperFilters" value to the class key in the
registry? Does it do anything else? When I tried to use it I didn't
see any entry appear
Any help on how to install a class filter driver using the WDF/KMDF
would be much appreciated.
Thanks! Tag: DDKVersion.xml ? Tag: 86737
Block files at driver level?
Hi,
I'd like to write a driver that blcoks all write access to a certain
directory (unless it comes from a binary that I wrote). I want this to
occur at the driver level, but is this even possible? Thanks for any
advice! Tag: DDKVersion.xml ? Tag: 86734
cannot open input file strmif.idl in Wd3ProxyPlugin
Hi all,
Do you know this error ?
cannot open input file strmif.idl
When i compile Wd3ProxyPlugin project and got this error Tag: DDKVersion.xml ? Tag: 86733
Windows Volume controll allways appear
Is there any way you can get the windows volume controll to appear all the
time?
I got the volume controll on my toolbar, and it pops up when i click it, but
when i click another window it disapears. Is there anyway i can get this to
be on top of every window all the time? like the taskbar? and that i can move
it around? if this is not possible it shuld be made as a windows addon or be
included in a update or somthing. (just a tip) It would be cinda handy. Tag: DDKVersion.xml ? Tag: 86731
how can I disable ctrl+alt + del, and windows key in vista.
1.how can I disable ctrl+alt + del, and windows key.
when my program is running ,disable ctrl+alt + del, and windows key.
when my program leave. enable ctrl+alt + del, and windows key .
In windows xp , I disable ctrl+alt + del by rewrite gina.but in vista gina
is not supported.
Must I write a key board driver.
how can I do that.
2. if I do that, can it work well at vista.
3.I know little about DDK, how can I do it.
best regards Tag: DDKVersion.xml ? Tag: 86729
registrykeys in inf-file
Is it possible to create registry-keys through in inf-file.
I want to add registrykeys in an printer.inf File.
Thomas Tag: DDKVersion.xml ? Tag: 86727
MSPLOT bitmap output
Hi All,
I printed a bitmap/image using MSPLOT driver(plotter), but the output
bitmap colors are not same as input bitmap color. The output bitmap
colors are dull in appearance. What should I do to over come this
problem or which part of the code I need to change or enhance?
Thanks,
abdul Tag: DDKVersion.xml ? Tag: 86726
Compilation problem WDK RC1 using VS2005
Hello
I am compiling my driver code in which I inlcude ntdef.h from latest WDK
RC1. When I try compile I receive error message
1>D:\WinDDK\5600\inc\api\ntdef.h(1170): error C2061: syntax error :
identifier 'MaximumLength'
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C3646: 'PCHAR' : unknown
override specifier
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C3646: 'Buffer' : unknown
override specifier
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C4430: missing type specifier
- int assumed. Note: C++ does not support default-int
After looking in the file I found structure
typedef struct _STRING {
__maybevalid USHORT Length;
__maybevalid USHORT MaximumLength;
#ifdef MIDL_PASS
[size_is(MaximumLength), length_is(Length) ]
#endif // MIDL_PASS
>>>>> __field_bcount_part_opt(MaximumLength, Length) PCHAR Buffer;
} STRING;
In this structure error is coming at
__field_bcount_part_opt(MaximumLength, Length) PCHAR Buffer;
If somebody why this error occurs and how can we remove this please let me
know.
thanks and regards
rohit Tag: DDKVersion.xml ? Tag: 86725
sdbus.sys and normal sd command
I need to write a driver that send command 0, command 1, command 2 ,
command 16, command 17 etc to
MMC/CE-ATA card. but I don't know how to send this command via API
provided by
sdbus libarary.
I called SdBusSubmitRequest(x,x) to send command 9( Send_CSD), but it
failed.
sample code like this:
const SDCMD_DESCRIPTOR SendCsdDesc =
{SD_CMD_SEND_CSD, SDCC_STANDARD, SDTD_WRITE, SDTT_CMD_ONLY, SDRT_2};
SDBUS_REQUEST_PACKET sdrp;
fdoData = MarsFdoGetData(Device);
RtlZeroMemory(&sdrp, sizeof(SDBUS_REQUEST_PACKET));
sdrp.RequestFunction = SDRF_DEVICE_COMMAND;
sdrp.Parameters.DeviceCommand.CmdDesc = SendCsdDesc;
sdrp.Parameters.DeviceCommand.Argument = 0;
status = SdBusSubmitRequest(fdoData->BusInterface.Context,
&sdrp);
if (!NT_SUCCESS(status))
return status;
what should I do? need to rewrite a sdbus driver for myself?
Thanks Tag: DDKVersion.xml ? Tag: 86724
DrvStartDoc() is called 2 times from MS-Word printing
Hi,
I have a printer driver that works in Windows-XP and 2000 platform.
I am trying to give a print job from Ms-word, by specifying multiple copies
from PrintDlgBox. But this causes the DrvStartDoc() to get called twice.
And the desired copies(recently entered in PrintDlgBox) is reflected in the
second call to DrvStartDoc().
This happens only in MS.word, not in anyother application.
Can anyone please tell me why this problem occurs?
Thanks In advance Tag: DDKVersion.xml ? Tag: 86719
PoStartNextPowerIrp special case
I'm curious about something in "Calling PoStartNextPowerIrp" in the
DDK docs. In most cases PoStartNextPowerIrp is supposed to be called
just before the power IRP is passed back up or completed, except in
the case of filter drivers for system power IRPs where
PoStartNextPowerIrp is apparently supposed to be called before passing
the power IRP down. What makes that case different? (from filters
and device power IRPs or non-filters and either type of power IRP) Tag: DDKVersion.xml ? Tag: 86712
KMDF Class Filter Drive INITSTARTFAILED
Hi,
I'm working on a class filter driver but to start I have installed the
filter as a device upper filter on a device of the class that I am to
filter on (both have services installed at boot time). It works fine
as a device upper filter with the exception that in the registry key I
have noticed that it sets INITSTARTFAILED to 1 for the enum key of the
service (i.e. .../System/CurrentControlSet/Service/myService/Enum).
However the count is 1 as is the nextInstance. I thought that if the
service truly did fail that the count would be zero? The filter driver
installed correctly as it does what it is supposed to do. Furthermore,
setting a breakpoint on my driver entry results in the behavior
expected (registers my device add and everything).
It works as far as I can tell except for the INITSTARTFAILED that is
set. I have deleted the key and the next time I boot it is back again.
I think this may be a problem because when I try and have the filter be
a class filter driver, I get an INACCESSIBLE_BOOT_DEVICE (7b)
I just want to make sure this INITSTARTFAILED doesnt' have anything to
do with this... In order to make the filter a class filter I have added
to the key corresponding to the class guid in
currentcontrolset/control/classs with UpperFilters myFilt. I have also
tried putting in a CoInstallers32
wdfcoinstaller01005.dll,WdfCoInstaller since when I installed the
filter as a device filter it put those values in the device instance
key (am I missing something else?)
So I guess I really have two questions
1. Anyone know why INITSTARTFAILED would be set to 1, but yet load the
service and it function properly?
2. Anyone know if for a CLASS filter driver if there are any other
values I have to set besides the UpperFilters in the registry key for
the class?
Thanks in advance! Tag: DDKVersion.xml ? Tag: 86711
Registry
Hi
Could u please tell me as how to register the printer driver from the
VC++ application.
I have written a code for registry but it is not working fine.
Please reply ASAP.
HKEY hkResult;
char temp1[]="xyz";
RegCreateKeyEx(HKEY_CURRENT_USER,"Printers\\DevModes2",0,NULL,REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&hkResult,NULL);
RegSetValueEx(HKEY_CURRENT_USER,"Printers\\DevModes2",0,REG_SZ,temp1,sizeof(temp1));
RegCloseKey(HKEY_CURRENT_USER); Tag: DDKVersion.xml ? Tag: 86702
USB to Ethernet miniport Adapter: SetPower Request handling.
Hi,
I am writing a USB to ethernet miniport driver.
My question is about SetPower Request handling when device is
unplugged during Standby.
The Device is connected and PC is put to Standby, When the PC is in
Standby mode the Device is unplugged.
Now the PC is made to come out of Standby.
As soon as the PC comes out of Standby we get SET_POWER Request.
Since the Device is no longer connected I am returning
STATUS_ADAPTER_REMOVED from the SET_POWER request.
It seems to work fine in most of PC's but in a few of PC's the
MiniportHaltHandler is not getting called.
I tried NDIS checked build and we get a message "Assertion failed
NDIS_STATUS_SUCCESS == ndisstatus"
The other messages that I get are as follows
"**** source file: d:\xpsprtm\net\ndis\sys\ndispwr.c, Line 1164
NdisDevicePowerOn: Miniport 82EB9AC8, PowerOn Failed by device driver
for the miniport, error C0010018!
NdisDevicePowerOn: Miniport 82EB9AC8, PowerOn Failed by bus or device
driver for the miniport, with error C0000001!"
We get the same status in the PC where MiniportHaltHandler is getting
called.
According to the DDK documents we should always return STATUS_SUCCESS.
But since the Device is no longer connected to the PC, returing
STATUS SUCCESS seems to be illogical.
If we have to return STATUS_SUCCESS from the SET_POWER request all
the time. Is there a specific place (function call) from where we should
return STATUS_ADAPTER_REMOVED.
I would be very grateful if somebody can throw some light on this.
Regards,
Anuj Tag: DDKVersion.xml ? Tag: 86700
Interlocked func in between a Spinlock?!
Hi!
Is there any reason to use interlocked functions in between a spinlock?
Thanks,
greg1x Tag: DDKVersion.xml ? Tag: 86699
Printer Driver
Hi All,
I am developing a printer driver. I am using MSPLOT sample of DDK.
My question is, Do i have to change any code or INF file to make it
install as USB or Network printer?
Thanks in advance
abdul Tag: DDKVersion.xml ? Tag: 86693
Can't disable Network Cards
Hi
I'm writing a program that Installs Network Cards on the PC.
One of the cards has probably a bugged driver and it can't be disabled from
windows' "Network Connections" window(I have to disable the card during the
program). The problem is, that even after uninstalling that card from the PC,
other cards can't be disabled as well.
Has anyone encountered such a behavior or has an idea?
Thanks Tag: DDKVersion.xml ? Tag: 86687
OID_802_11_ADD_KEY or OID_802_11_ADD_WEP
Hi
I'm writing a program that should set WEP key to wireless cards drivers.
While snooping windows' Wireless Zero Configuration Service, i've noticed
that with certain cards it sets OID_802_11_ADD_KEY and with other cards it
sets OID_802_11_ADD_WEP.
My question is how does WZC knows which OID does the driver expect to
receive? (there are no error messages, so it doesn't just try them both...) Tag: DDKVersion.xml ? Tag: 86686
[AVStream] How to display a interlace video with 2 fields in 1 fra
Hi all,
I'm writing a AVStream driver for a video capture device. The data format is
ITU656, 720 x 576 and interlace. There are 2 fields in 1 frame. I fill a
KS_DATARANGE_VIDEO2 structure to describe my data format. Is that right? Tag: DDKVersion.xml ? Tag: 86685
Help needed on writing a pseudo audio driver
Hi,
I have done lots of ground work, but could not find any satisfactory
explanation on this. My requirement is like that - i will have an
pseudo audio driver registered. For one of my application (voice chat
application), I will select this driver for audio i/p and o/p.
Application will deliver any incoming voice to the pseudo driver for
audio o/p (in normal case, it would have been given to the sound card
driver in the system). The pseudo audio driver will forward this voice
to somewhere else(lets say X). The pseudo audio driver will get user
voice i/p from X and forward it to the voice chat application (in that
case X is acting as a microphone source).
Initially I was thinking it won't be possible in windows. Then I came
across MSVDM where they have written a driver for storing voice to a
file instead of o/p it to sound card. I was thinking to tweak this for
my purpose, but, as I am new to windows driver I could not understand
few things. How about writing a audio filter driver? Please guide me as
to what will best suit my requirement. I must admit windows is a very
difficult bitch to grab. It is taking hell lot of time. the more I read
more I get confused. An early reply will be very much appreciated.
Any pointers or help in this regard will be highly appreciated.
-paul Tag: DDKVersion.xml ? Tag: 86684
DrvStartDoc- with no job id
Hi,
Can anyone tell me, what action is to be done from driver side ,if
DrvStartDoc is called with job id as 0? In my code, im getting calls to
DrvStartDoc twice(in case if application calls ResetDC() ) and all the
document related commands are being sent to printer twice.
Thanks in advance Tag: DDKVersion.xml ? Tag: 86680
cursor background drawn with wrong bitmap.
Hi,
I want to achieve screen rotation with increment steps of 90 degrees. To
start with I am targetting only 180 degree rotation.I have developed display
driver for this. This is just a punting driver. When I get a drawing call, I
am rotating the source, repositioning bounding RECT and punting it using
Engxxx calls. I am facing problem with cursor back ground. When I move
cursor, bounding rect of cursor is drawn with wrong image. For example when I
move cursor on the desktop, cursor bounding rect of old location will be
redrawn with the image which will be there if I dont rotate the screen in my
driver. To achive perfect screen rotation do I need to develop any more
supporting drivers like miniport filter driver etc? if yes, what should be
function of that?
Regards,
Sunil Tag: DDKVersion.xml ? Tag: 86667
PcNewPort the Only Way?
I'm trying to develop a dummy audio device for streaming.
PcNewMiniport doesnt appear to support any kind of Wave devices.
PcNewPort seems affiliated with DMA and pci bus & all that jazz. I
know the msavd driver just hacks around it, but is there a more
sensible solution?
thanks
rektide Tag: DDKVersion.xml ? Tag: 86661
I have device driver jobs in Silicon Valley
If you develop drivers for graphics or audio or storage, I have
fulltime opportunities at a solid and exciting company in Silicon
Valley. This company is doing new and exciting things that noone else
is doing yet and the opportunity to work with other smart
Engineers/Developers is here!! The work is in Silicon Valley, so we
need you to be there, or willing to move there from another spot in the
USA (will pay relocation for right folks of course). I represent a
great company, and the company is full of very intelligant, capable and
creative folks! We need software developers/engineers with openGL or 3D
experience, and we need people that create device drivers for Audio. We
also need people that create device drivers for Windows storage (sata,
scsi, raid etc). If you are seeking to work on new and exciting
technology at a great company, please contact me, Maryellen O'Connell
at maryell...@volt.com or call me at 888-933-8658.
Thanks! Tag: DDKVersion.xml ? Tag: 86659
Re: Disable "use This Device As Primary Monitor" always secondary monitor
Hi,
There was a post on this topic a couple of weeks back, but there was
not reply. I am wondering if anyone knows the solution to this. i.e in
the display driver disable the feature to use it as a primary monitor.
Regards
Mudeem Tag: DDKVersion.xml ? Tag: 86656
ScsiDebugPrint
Okay, I'm pulling my hair out over an issue that does not deserve near the
amount of time I've devoted to it. I'm trying to get ScsiDebugPrint to work
in a ScsiPort miniport driver. Here's what I've got:
- A test "driver" with only DriverEntry. It #includes miniport.h and
scsi.h. I have 4 calls to ScsiDebugPrint() in DriverEntry, with 0-3 values
for first the DebugPrintLevelArg.
- I link against scsiport.lib. I'm using the latest WDK.
- I've tried running with a checked build of scsiport.sys that I rammed into
the sys drivers dir of my target box (having turned off file protection in
the registry [SFCDisable]).
- I run with a debug serial hook-up to my target PC.
- I've got Debug Print Filter registry entries: DEFAULT, DPFLTR, IHVBUS,
IHVDRIVER, IHVNETWORK all set to dword 0xf.
- If I change the driver to instead include wdm.h, link against wdm.lib, and
use DbgPrint(), this works. But of course I can't use DbgPrint() w/ a
ScsiPort miniport driver.
Help, anyone? Thanks.
-mat
loik@<company>.com
Synopsys
Hillsboro, OR Tag: DDKVersion.xml ? Tag: 86647
WPA2 pre-authentication
I'm working on WLAN driver for Windows Mobile 5.
On AKU3.0 I tested PMK cache and it works just fine.
But full pre-authentication does not work.
When device is connected to the AP it does not try to pre-authenticate
with other AP using existing link. It cause full 802.1x authentication
when first AP is turned off.
Does AKU3.0 support pre-authentication?
Is there any additional requerments for the WLAN driver?
Thanks,
Artiom Tag: DDKVersion.xml ? Tag: 86644
NDIS driver.
hello,
i am developing a ndis miniport driver.
my hardware is pci cardbus. i am developing miniport driver as the
middle layer.
currently i am getting the data from the protocol driver layer. but
whatever data i am sending to the upper layer (recv path) is not
recognizing.
1). can anyone tell me how to make proper packet and send it to the
upper layer.
2). do i need to send the ethernet header also (14 bytes) in my data
frame while calling NdisMReceiveIndicate(). ?
3). What are the main parameters need to be checked while creating a
fresh packet and send it to upper layer,?
thanks Tag: DDKVersion.xml ? Tag: 86631
How to prevent share drive
Hello,
I've own virtual disk(similar to ramdisk) and I don't want the drive to
be shared.
Is it possible?
I've tried IoCreateDeviceSecure and return STATUS_ACCESS_DENIED in
IRP_MJ_CREATE without success.
--
Marcin Gabryszewski
G DATA Software
www.gdata.pl
address:<FirstName><dot><Surname><at><gdata><dot><pl> Tag: DDKVersion.xml ? Tag: 86627
Reqarding the inf file creation
Hi All,
Currently i am working on layered driver architecture for windows XP.I
wanted to create the inf file for the filter driver...Do any body have
the tutorial abt what all inf file must contain or some refrences or
some tool which will help me right the inf file for the filter driver.
with regards
jaggi Tag: DDKVersion.xml ? Tag: 86622
wdk Vista mirror driver
After making the needed changes my mirror driver is back runnning in Vista.
But it act the same as before, directx stuff (like screensavers) generate a
black screen.
In the documentation "3 lines of extra info" they mention
GCAPS2_EXCLUDELAYERED GCAPS2_INCLUDEAPIBITMAP
but no futher usage doc is available.
Tha sample mirror driver have the function DrvRenderhint() this seems to be
total undocumented.
1) Does the mirror driver on Vista have a way to capture directx ?
2) Is there any documentation available about the changes between
XP and Vista and usage of the new options ? Tag: DDKVersion.xml ? Tag: 86619
DIFx: DriverPackageGetPath on Vista
Hi!
It looks like that DIFx Tools v2.01 are not fully supported yet on Vista
(RC1), right?
(as documented in the DIFx documentation).
Cause DriverPackageGetPath failes and so it can´t be used for example
with InstallShield 12 installations (which includes a device driver wizard
that makes
use of DIFx v2.01).
Here is the MSI log result:
DIFXAPP: INFO: ENTER: DriverPackageGetPathW
DIFXAPP: ERROR: DriverPackageGetPath is not yet supported for PnP drivers
on LH.
DIFXAPP: INFO: RETURN: DriverPackageGetPathW (0xA)
When will it be fully supported on Vista? Must I wait for a newer Vista
build or a later DIFx version?
Thanks,
Holger Tag: DDKVersion.xml ? Tag: 86616
Looking for a sample UPS minidriver
Hi,
i'm looking for an example UPS minidriver. There's no example provided with
the DDK. Can you help me ?
Regards
Thomas Tag: DDKVersion.xml ? Tag: 86612
ZwXxxx calls in video miniport driver.
Hi,
Is it possible to make ZwXxxx calls from video miniport driver ?
I tried to call ZwCreateSection and ZwMapViewOfSection. For these
function I included wdm.h and ntddk.h.
But as soon as I included these two files, many redefinition errors
came in header files.
I think there is some conflict in video.h , miniport.h and wdm.h .
ntddk.h.
I also read in ddk that video miniport driver can call only VideoXxxx
and AgpXxx functions that are exported bye videoport driver i.e.
videoprt.sys. Is this correct.
Please , if anyone has some idea then do let me know.
Thanks. Tag: DDKVersion.xml ? Tag: 86611
Device removal and "create requests"
When the DDK says to fail "create requests" after succeeding an
IRP_MN_QUERY_REMOVE_DEVICE, is it talking about IRP_MJ_CREATE? I'd
previously thought most drivers don't do anything for IRP_MJ_CREATE.
Is this a typo, since it also says that protection against new open
handles should already be taken care of by the OS except in broken old
Windows 98/Me (and open handles is what IRP_MJ_CREATE implies, isn't
it)? Tag: DDKVersion.xml ? Tag: 86606
A sort of "query remove lock"?
The documentation for IRP_MN_QUERY_REMOVE_DEVICE in the DDK mentions
that if a driver has an outstanding reference against itself from
IRP_MN_QUERY_INTERFACE that it should fail the query remove IRP. That
makes sense. So, some query interface reference count needs to be
checked before succeeding a query remove (except there's no need to
wait for it to drop to 0 like with a remove lock because it can't be
predicted how far into the future the interface reference would
finally be released).
Also, some mechanism needs to make query interface IRPs begin failing
after a query remove IRP handler has begun. Otherwise letting out an
interface reference would race with the query remove, an interface
reference could be let out afterwards, and then the device couldn't
later be removed as should be expected when a query remove succeeds.
The "toaster" sample does the first part but not the second. That's a
mistake, isn't it?
(also, this made me think what other sorts of operations should be
waited for in IRP_MN_REMOVE_DEVICE vs. IRP_MN_QUERY_REMOVE_DEVICE. Is
it that IRP_MN_REMOVE_DEVICE can wait for operations that take a short
period of time to finish and clean up while IRP_MN_QUERY_REMOVE_DEVICE
is for ones that would take so long that removal should simply be
canceled?) Tag: DDKVersion.xml ? Tag: 86605
using ddkbuild.bat
I'm using VS and ddkbuild.bat to build my driver. I call ddkbuild as
follows... ddkbuild -W2K checked. My driver gets built in
objchk_wnet_x86\i386. If I build the driver from the w2k checked build
environment it builds my driver in objchk_w2k_x86\i386. It looks like
ddkbuild is invoking a different ddk build environment. Is this a problem
and what is wnet? Tag: DDKVersion.xml ? Tag: 86603
PCI Express Standby issue
Hi Folks,
We are trying to develop a nic driver and are noticing that after
standby the system crashes: more specifically, the first interrupt
after standby causes a crash.
More background: Since the standby removes the power to the
card, we save the pci config space before the standby operation.
After the system comes out of standby, we reset the chip (to
clear any stale state), which in turn resets the express link.
The driver then waits for a while (for the link to establish back) and
restores
the pci config space. After that we able access the chip internal
registers however, when we enable the interrupts, the first interrupt
immedaitely cause a crash. Has anyone seen this behavior. The driver
is being tested on a windows 2003 server x64 platform.
-thanks Tag: DDKVersion.xml ? Tag: 86594
IRP_MN_STOP_DEVICE on Windows 98
I'm not sure if Windows 98/Me still matters, but I hit a section that
mentions it in the middle of the 2003 DDK PnP area. I know that the
old Windows are a little different from the newer Windows, but I'm
wondering if this is a case of different or just plain broken. What
I'm wondering is if a device receives IRP_MN_STOP_DEVICE is it
supposed to queue incoming IRPs or fail them? For resource
re-balancing queueing sounds right, but for disabling a device from
Device Manager failing them does (or they'd be queued for a very long
time until the device was re-enabled or the requester finally gave up
and canceled them). The problem is doesn't Windows 98/Me send
IRP_MN_STOP_DEVICE for both of these. Is there any way to distinguish
the two situations on that old platform? Tag: DDKVersion.xml ? Tag: 86592
MiniportTimer problem
Dear All, I need to call one function in my NDIS IM driver every 30
seconds. So I used MiniportTimer. In MiniportInitialize I've got
NdisMInitializeTimer and NdisMSetPeriodicTimer. In MiniportHalt I call
NdisMCancelTimer. Everything just like DDK says. But I figured that
MiniportTimer function is being called every 30 seconds not once but
three times! Do you have any idea how to fix it or what could be wrong? Tag: DDKVersion.xml ? Tag: 86589
KCorp wireless card drivers
Hey,
I put windows vista ultimate edition beta 2 on a couple of days ago and
I can't load my Kcorp wireless device drivers. Does anyone know if
they are out yet? It's a PCI card for the KLS-660 Wireless PCI desktop
network adapter.
Thanks. Tag: DDKVersion.xml ? Tag: 86585
Second HID for exclusive use.
Please tell me ways to implement, if I have a second HID USB keyboard with
multiple Top Level Collections, (in this case a Microsoft remote,) so that
the inputs from this device will not mingle with those from the primary
keyboard, and be available to programs as, say, WinProc messages?
I don't want to touch the system supplied class and miniport drivers.
Thanks in advance. Tag: DDKVersion.xml ? Tag: 86584
Creating a virtual Port
Hi Everyone,
I Made a Driver using WINDDK samples. And i was able to add the printer
using it. It prints the file fine on the Physical printers ports. Now i
want to create a virtual port so that files get printed ( On Disk)
So please help me with the following two options
1) i wont to avoid (Print to file port option) .because it pops up the
dialog while printing the file and asks for the file name. I want to
hide this dialog and it should take the default name send by the
driver.
OR
2) So can anyone please let me know how do i add virtual printer port.
This looks a better solutio to me.
Thanks to all
Vik Tag: DDKVersion.xml ? Tag: 86576
Is hidclass.sys appropriate for my device?
Hi,
I am currently involved in a project that involves the design of a
proprietary USB device. This device is under design and its purpose is
to get configuration information from a PC via USB and transfer that
information to an Infrared device. We would also like to be able to
read the configuration information that is stored in the device. I had
hoped to use the hidclass.sys driver and thus avoid the task of writing
a device driver. I am finding out as I go along that the report may be
limited to 4 bytes of data, our configuration information is 32 bytes.
Would you recommend continuing along this path and writing multiple
reports to get the full configuration to/from the PC or could you
recommend another driver or maybe a Minidriver ??
Thanks,
Stacy Tag: DDKVersion.xml ? Tag: 86560
Help With NDIS WHQL/Logo Process
I have a NDIS driver that works great. I'm just want to install it
without getting the prompts about Windows Logo Testing. I have been
attempting to read through the documents from Microsoft on logo testing
and WHQL but am getting lost in the multiple hundred page documents
they provide. What I am looking for is an ordered list that I can
follow that will explain what I need to do to get it completed. I
found a page from Microsoft that has something like this but that is
where it tells to download document after document...and that it is
before I even have to buy a certificate. I also don't want to purchase
a certificate and then find out that I can't do it with my product or I
have to implement a bunch of features that I don't need just to conform
to Microsoft's specification.
If anyone can provide some guidance or has experience doing this with
an NDIS driver that would be great. We may even be willing to pay for
some consulting services that can perform this task for us.
Thanks,
Tim C. Tag: DDKVersion.xml ? Tag: 86559
Terminal Server Driver
I need to make our printer driver Terminal Server compliant. I searched the
web but can't find any information on how to make a printer driver compliant
with the multi-user environment of a Terminal Server. Can any point to
documents, web sites regarding developing printer drivers for terminal
servers? Tag: DDKVersion.xml ? Tag: 86558
KMDF and Smart card reader driver
Hello,
I want to develop a specific smart card reader driver.
I would like to know if I can use KMDF?
I have doubt specially with the function SmartcardDeviceControl which
completes IRP. Once SmartcardDeviceControl is called, is there a way to
the framework KMDF to know if the request is still available and a way
to destroy this request on framework point of view.
Thanks for your answers Tag: DDKVersion.xml ? Tag: 86557
Multiple threads and blocking on I/O
Hi all,
Let's say I have two threads one of which calls ReadFile and the other
WriteFile (on the same handle). Using non-overlapped I/O, will the threads
block one another?
Thanks, Chris Tag: DDKVersion.xml ? Tag: 86553
The 5744 WDK setup put this file in c:\winddk - what is the purpose?