doc about EAP
Hi,
I have created a client that can associate a wireless adapter to a
WPA-PSK-tkip network.
Now I have been setting up the wired network to use a radius server too
(IAS) and I monitored what the wzc send and noticed it starts sending EAP
messages instead of EAPOL (in the pairwise handshake and group handshake)
Now the 802.11i draft describes more the EAPOL messages, where can I read
how the EAP messages are structured and used, at the moment I have set it up
to use PEAP-MS-CHAP v2, but also EAP-TLS is interesting.
thanks
/Niklas Tag: Get the USB host controller speed within miniport driver Tag: 46106
AVStream : how to assign my device extension?
Dear All
How could I assign my defined DeviceExtension to an AVStream device object?
PS : I use KsInitializeDriver to initialize my AVStream driver
Does AVStream assign a default DeviceExtension
Best Regards
Edward Tag: Get the USB host controller speed within miniport driver Tag: 46105
Virtual Device Driver Basics
Good Day
I was wondering where to get information on Virtual devices on windows 2K/XP
I want to make a driver that detects if any of our products are connected (Serial/USB) and then acts as a generic PCSC driver to any of these devices. Our clients do not want to layer the driver atop the HID/Serial driver because they also want direct access to the hardware from user mode.. Can anybody help me with this
With Best Regards
StreaX Tag: Get the USB host controller speed within miniport driver Tag: 46103
NdisGetReceivedPacket in IM driver
Hi all
Can I just omit the call to NdisGetReceivedPacket in Ptreceive
Handler? Can I just use the NdisTransferData call to get the packet in
my IM driver? (I am currently using both of above)
Are there any NIC’s which will only send the packet in response
to NdisGetReceivedPacket and not to NdisTransferData?
Thanks in advance
Hardeep Tag: Get the USB host controller speed within miniport driver Tag: 46102
To Microsoft Guys
Hi all
I was installing a Proxy server which uses an IM driver on windows
2003 server. It was an old version. (It woks pretty good on 2000) The
system generated error message telling that the driver would not be
loaded because it can make the system unstable
………but it allowed the bindings to be changed. This
caused all the Network communication to stop.
Even when I uninstalled the proxy program the bindings and the
registry data for the drivers were still there.( I changed the
registry entry in driver to make the miniport’s manually
un-installable).
My question is if Windows determines that the drivers will make the
system unstable and will not load them, then why during installation
it allows the bindings to be changed …….or why
doesn’t it reverts back to the old bindings?
Regards
Hardeep Tag: Get the USB host controller speed within miniport driver Tag: 46101
compilation errors in rpcdce.h
i am trying to build drivers using win2003 ddk. i get compilation erros when including rpcdce.h. are there any fixes or patches for this? thanks Tag: Get the USB host controller speed within miniport driver Tag: 46099
'This is your chance to...
Hi,
..finally, at last, you have made it to the answers to your questions."
If I had an endorsement from you to your client base, it will
prove to be beneficial for all involved. More importantly,
you are sure to genuinely help those clients.
We provide an education that takes you through all of the
steps required. This is your chance to help people that really
deserve to succeed. A chance to make a difference, a chance to
change people's lives. This is not only a course, or a system, or
an innovation or an evolution, it is THE START of what will be the
next generation of webmasters...and you'll reap-the-rewards as an
affiliate.
I don't send this letter to make sales, I send this to change
lives, real human beings lives!
Do it Now! Take Action Today!
Julie Barkley
Check this out to get your ad copy
with customized affiliate:
http://freeadguru.com/cgi-bin/i.pl?c=r&i=20802
http://www.freeadguru.com/cgi-bin/o.pl?o=16718
http://www.freeadguru.com/cgi-bin/o.pl?o=16719
http://moneyhome.com/cgi-bin/read.pl?choice=read&file=in&id=20802
http://www.emailmarketingleads.com/pem/irepsonline
http://www.aweber.com/?202896
---
MAF Anti-Spam ID: 20040527130128C1n4RsV8 Tag: Get the USB host controller speed within miniport driver Tag: 46097
How to turn off dithering in (RDP) display driver
When an application uses more colors that the video device can generate,
the device driver (and/or GDI subsystem ?) for line objects (like text)
approximates requested color to the nearest color device can generate or
for solid brushes - simulates requested color by dithering (mixing
colors in a pattern). In common situations the color simulation is a
very useful but sometimes it gives unexpected effects when color of
written text is the same as (or similar to) one of dithered colors of
the background plane. The lowest color depth of the video device the
worse visual effects we get - e.g. for 256 colors video driver for Win
2K Terminal server (based on RDP 5.0 protocol). In such case it could be
very interesting to observe how display quality would improve (if any)
when dithering will be turned off.
But how to disable this function of RDP display driver? Is that any
dedicated registry key which controls dithering? Or perhaps is any other
way to disable dithering?
Thanks in advance
A. Tag: Get the USB host controller speed within miniport driver Tag: 46095
wan intermediate driver problem
Hi,
I am writing a wan intermediate driver with TAPI support for Windows98 SE.
When i install the driver, the installation goes on fine. But tapi calls do
not happen.
OID_TAPI_PROVIDER_INITIALIZE and ..SHUTDOWN gets called. But no
other tapi oid's are getting called. Also, from a tapi application like tapi
browser,
lineInitialize returns success, but lineOpen fails.
Any idea what is the problem, & where should i be looking for?
Anand. Tag: Get the USB host controller speed within miniport driver Tag: 46087
general printer driver question
Hi
Does someone have a solution how to implement a fax-printer driver that
provides a virtual printer that you can share in the network?
Today the problem is, that fax-drivers show the "enter fax number"-dialogs
on the server and not on the computer that sends the fax. Now, this doesn't
work... and I don't know if it's possible to solve this.
MR Tag: Get the USB host controller speed within miniport driver Tag: 46085
NETBIOS Name resolution request inside TDI filter
Hi
I have to get the remote machine name from NETBIOS request. Inside TDI filter, I wanted to know which remote p.c the user is trying to acccces, if it is not in the domain, I have to redirect the request
Is there anyway I can do this, ie Netbios name resolution (UDP,137
I can get TDI_SEND_DATAGRAM request if the following is tru
DNS Suffix Search List. . . . . . : xyz.com
Connection-specific DNS Suffix . : xyz.com
then I can intercept DNS query and can take appropriate action.
But if there is no connection specific suffix associated, how can I get the remote machine name
Please help me ASAP
ThanX in advance Tag: Get the USB host controller speed within miniport driver Tag: 46076
override FILE_FLAG_OVERLAPPED
Hi,
I'm working on a device driver which supports asynchronous
(overlapped) I/O.
However, overlapped I/O doesn't work if the user didn't set
FILE_FLAG_OVERLAPPED when calling CreateFile(). I want to override
this and "reopen" the file with FILE_FLAG_OVERLAPPED set.
ReOpenFile() can solve this, but requires Windows Server 2003.
Is there a solution for Windows 2000 / NT 4.0 ?
TIA,
Yair Tag: Get the USB host controller speed within miniport driver Tag: 46075
Removing inf using SetupUninstallOEMInf
Hi all
I have written a uninstaller which uninstalls the driver first using SetupDi calls, then tries to remove the .inf and .pnf files through "SetupUninstallOEMInf". I get the installed oem* file name during installation using "SetupCopyOEMInf"
My problem is "SetupUninstallOEMInf" fails with error 259(no more data is available). If I delete the oem*.inf and oem*.pnf files using "Deletefile" API, it deletes successfuly but GetLastError() gives error 259. This method successfully uninstalls the driver. Is this a proper method of removing inf files ? Can anybody please tell me the cause of error 259
Any help would be grealty appreciated
Thanks in advanc
Regard
Prashanth Sheno Tag: Get the USB host controller speed within miniport driver Tag: 46073
USB Port resets after S3 standby
Hi,
I have an application that automatically brings my computer out of standby
and immediately issues a command to my USB-based (1.1) infrared blaster.
The problem is that it seems Windows XP likes to "reset" the USB ports as it
comes out of standby, which takes about 5-10 seconds. I know this, because I
can hear the generic USB plug-in sound. And while the reset is happening,
the command to the infrared device takes place and fails (because Windows
doesn't think the device is present until the "reset" is complete).
By the way, the USB device stays on all through the S3 standby (enabled with
the correct motherboard jumper settings). So, this "reset" seems somewhat
useless to me.
Does anyone know how to stop Windows from re-registering the USB port after
S3 standby?
I'm sorry that this is more of a configuration question than a development
one, but I'm not having any success elsewhere.
Thanks,
Aaron Tag: Get the USB host controller speed within miniport driver Tag: 46072
Unidrv - Printable Area
Hi All
I've tried crazy values for the *CursorOrigin attribute in the GPD, but can't find any difference in the command stream that is generated.
Does the *CursorOrigin attribute make sense only for the application or Unidrv adds commands in the stream for this attribute
Regards
Naresh Tag: Get the USB host controller speed within miniport driver Tag: 46071
unable to load NDIS miniport driver
hi all
In the BSP under PLATFORM I have included a folder of the miniport driver under DRIVER and taken care of make, source and .def fil
The project.reg and project.bib file is taken care too
Query
When I build the platform I am facing a build error saying "Don't Know How TO make <xxx>.def File
Could u help me on that so that I am able to load the driver .dll file successfully
Your views could be of great help to me
Thanks in advanc
Vivek B. Tag: Get the USB host controller speed within miniport driver Tag: 46066
DIFxApp and Ndis IM driver install miniport problem
I download DIFX and check DpInst.exe with Samples\Network.Intermediate (I simply put this exe file to driver root directory).
DpInst incomplete install this driver - protocol part only
The similar problem is observed with use DIFxApp in msi package. Tag: Get the USB host controller speed within miniport driver Tag: 46065
ZwOpenFile helppppppppp
Hi all !
I must Open a file in my Driver , The fragment code as below . But it always
can not be opened .. Pls tell me why ??
Thanks in advance !
HANDLE fileOpen;
OBJECT_ATTRIBUTES objAttr;
UNICODE_STRING sLinkName;
#define FILE_NAME L"C:\\test.out"
RtlInitUnicodeString( &sLinkName, FILE_NAME);
KIRQL oldIrql,
newIrql = PASSIVE_LEVEL;
KeRaiseIrql(newIrql,&oldIrql);
InitializeObjectAttributes(
&objAttr,
&sLinkName,
OBJ_KERNEL_HANDLE,
NULL,
NULL);
LARGE_INTEGER nSize;
IO_STATUS_BLOCK ioStat;
NTSTATUS statusOpen = ZwOpenFile(
OUT &fileOpen,
IN FILE_READ_DATA | FILE_WRITE_DATA,
IN &objAttr,
OUT &ioStat,
IN FILE_SHARE_READ,
IN FILE_NON_DIRECTORY_FILE
); Tag: Get the USB host controller speed within miniport driver Tag: 46064
DeviceIOControl
I want to send IRP_MJ_DEVICEIOCONTROL to the stream driver from kernel mode.
Is there function similar to DeviceIOControl or I have to send IRP to driver
directrly? Tag: Get the USB host controller speed within miniport driver Tag: 46058
Driver Chain Manager
Hi, all!
Did anybody write driver, compatible with DCM?
Task is to write magnifier. I think, this will require tapping video
driver.
DCM establishes a set of rules, governing display driver interception.
First of all, I should estimate complexity and volume of work.
Now, I am trying to write test chain driver, intercepting DDI calls.
Questions:
1) I can't compile driver, using WinDDK. Linker can't resolve DCM calls.
I have dcmkrnl.dll, dcmuser.dll installed. I do not have any .lib files.(Do
I need them or I can manege with .dll files?)
What should me adjust?
2) Documention, that I have found, is insufficient.
I don't have samples, that I can modify. Does anybody have samples or
detailed documentation?
3) DCM is a relatively new component. Is it reliable enough?
Yuri Tag: Get the USB host controller speed within miniport driver Tag: 46051
NIC again
How can I access registers on a NIC (RTL8029AS), specyfication gives me
registers , but where are they, in some structure to write directly to
NIC memory or what?? I'm workig and writing for win2k.
Do I have to worry about PHY in my miniport driver??
Living it alone without managing would cause errors?? Tag: Get the USB host controller speed within miniport driver Tag: 46050
Thread in driver ??
Hi All !
Anyone has worked with Numega Studio to write a Driver ?
I must write a Driver filter for Com Port and synchronize system time
between 2 computer via Com port ( call them Server and Client ). In the
server side , there is one User application to active the driver and User
can click on a Button in application to tell the Driver to implement
synchronization time with the Client .
In the Client side , There is no application , only Install Driver . And the
Driver in the client side must use a Thread to detect when the Signal from
server has come .
SO, My task now is that I must create a Thread in Driver in order to detect
when the signal has come to the Port .
Pls explain , how can i do this work? I have create a Thread and put it in
the DispatchCreate ( I use Numega to write driver ) . So now , How can I
detect the Signal came to the Port by this Thread?
Pls explain the Mechanism !
Thanks in advance ! Tag: Get the USB host controller speed within miniport driver Tag: 46043
play sound
How can I play some sound from WDM driver? I suppose to use KsCreatePin to
open sound stream. But I could not set its parameters properly. At the
moment I obtain a handle to sound driver (1st parameter) but the socond one
cause a problem.
Could anybody provide me with example of how to call this function. I want
to play PCM/44.1kHz/stereo sound. Tag: Get the USB host controller speed within miniport driver Tag: 46042
Generic Device Identifier
I am attempting to create a program that will inspect our companies machines
and determine any drivers needed for devices based on the hardwareID,
DeviceID, etc. One problem that I have encountered is a case where the mouse
hardware ID is a generic ID. For example, the hardware ID on a Dell laptop
is listed with the generic identifier of:
ACPI\PNP0F13,*PNP0F13
This could match any number of mouse drivers, i.e. Alps touchpad driver or
Synaptic, etc. The correct driver, or at least the driver shipped with the
unit is an Alps touchpad driver. Do cases where a generic hardware ID is
listed (and I'm sure there must be others --USB drivers come to mind) mean
that any driver/INF matching that ID --whether it is Alps or Synaptic-- will
work properly? Secondly, is there a way to determine which is the proper
manufacturer/driver to install?
Many thanks!
JW Tag: Get the USB host controller speed within miniport driver Tag: 46030
Strange Shutdown Problem
I'm writing a driver for a PCI-Express device, although the "-Express" part
should be irrelevant for this discussion. I started the driver from Walter
Oney's driver wizard, and the power management code is essentially
unchanged from the wizard code. Windows XP SP1a Checked. (I haven't tried
Free; I suppose I should...)
I can load, unload, and restart the driver to my heart's content. On a
system restart, power state goes to D3, driver unloads, everything is
happy. But when I try to do a system shutdown, most of the time it gets
everything shut down, my power state goes to D3, my driver (apparently)
unloads, the kernel debugger disconnects and waits for a reconnect, the
screen goes to blue, and that's it. The power doesn't go off. SOMETIMES a
shutdown works fine, but most of the time, I get this hang. If our device
is not plugged in, it shuts down OK.
Anybody have any wild ideas for me to try? I don't THINK it is a driver
issue; I don't think the debugger would disconnect if my driver were still
running. Any "I saw this once and here's what I did" stories welcome.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc Tag: Get the USB host controller speed within miniport driver Tag: 46028
unable to load the NDIS miniport driver to my platform
hi all
i am developing a miniport driver.have created a dir named DRIVERS under PLATFORM of my BSP
have included the make,source and .def file too.(the configuration selected is Tiny Kernel and have exported required features from catalog to support my driver)when i build the platform i get a build error saying don't know how to make .def file
can anyone help me on that issue.
the necessary details to be put in project.reg and project.bib file is also taken care off
is there anything i am missing necessary to build the miniport driver
thanks in advanc
regards
Vivek B. Tag: Get the USB host controller speed within miniport driver Tag: 46023
How to get "LowerDeviceObject" in NDIS-WDM driver?
Hi all,
If I want to send a URB, followed by Oney's book : Chapter12 - "Working with
the Bus Driver" - function SendAwaitUrb(), I should call
IoBuildDeviceIoControlRequest (IOCTL_INTERNAL_USB_SUBMIT_URB, pdx ->
LowerDeviceObject, ...).
But now I want to send URB from a NDIS-WDM miniport driver, actually, I'm
trying to modify the DDK sample "ndiswdm" which made by Eliyas, how can I
get the "LowerDeviceObject" in the ndis miniport driver?
Many thanks in advance,
Barry Tag: Get the USB host controller speed within miniport driver Tag: 46015
Windows test logo for Blackberry 6280
Software can't pass the indows test logo for my
Blackberry. Tag: Get the USB host controller speed within miniport driver Tag: 46012
... what do they mean?
Hi
I'm using CPSUI and I've a question about the documentation... for
TVOT_EDITBOX they write
pOptParam[1]->IconID is used for specifying the size, in bytes, of both the
edit box and the buffer pointed to by pSel in the OPTITEM structure.
... now, what does this mean? What's the "size of the edit box" ?? They size
of the pSel-Buffer is clear... but the edit box size?
thanks for help
MR Tag: Get the USB host controller speed within miniport driver Tag: 46008
TSENG ET3000 driver for Win98 (or win95) SVGA800x600, 256 colors, download where?
Hi,
I am searching a driver for TSENG ET3000 video card, for Win 98 (or Win95),
that supports SVGA 800x600 resolution, and 256 colors.
Does anybody knows where can I download it from?
Thanks.
Sorin. Tag: Get the USB host controller speed within miniport driver Tag: 46006
Wheel tab on mouse control panel
Does anyone know how the mouse control panel decides whether to show the
"Wheel" tab?
Our experiments seem to be indicating that, rather than using some kind
of IOCTL_MOUSE_QUERY_ATTRIBUTES call, it may be looking at the PNP ID of
the currently installed mouse (at least for PS/2).
The symptom is that if we install our driver using a compatible ID
(PNP0F13) the tab shows up, but if we install the exact same driver on a
device/platform specific PNP (e.g. SYN0010) the tab goes away, with no
other changes.
If this guess is correct, is there some kind of registry key or
something that would cause the Wheel tab to come back? Some of our
customers are complaining about it going away.
--
../ray\.. Tag: Get the USB host controller speed within miniport driver Tag: 45989
Driver for Enhanced Parallel Port?
I am designing a widget that needs to send and receive data on the parallel port. I have designed it to be compatible with an EPP mode. I plan to use an Advantech PCM-937x running XPe to talk to it. On CE 3.0, using a PCM-5820, I was able to simply read and write to the port registers, but something tells me it will be harder on XPe. Does someone know how to do this? I plan to use a .NET framework, so C#, C++ or VB.NET are the programming environments I want to use Tag: Get the USB host controller speed within miniport driver Tag: 45987
Loading two IM driver on PPC2003
Hi,
I am trying to load two IM derivers on my PPC2003 (i-mate).
Currently I am working with sample 'passthru' code given.
I made a two copies of passthru one named as IMDRIVER
it's miniport section named as IMDRV1 and second one is
PASSTHRU and it's miniport section is PASS1.
Now, I load IMDRIVER first and have seen that it works fine.
than i load PASSTHRU , I found that in the protocolBindAdapter
function of the PASSTHRU ,the miniport secion of IMDRIVER
(i.e.IMDRV1) is not comming and therefore PASSTHRU does'nt
load successfully over IMDRIVER.
Can any body shade light on it ??
Any suggesstion will be a great help for me.
Thanks
Niraj Tag: Get the USB host controller speed within miniport driver Tag: 45967
assigning USB device drive letters
I have a problem with a bunch of newer computers running 2000/XP where USB removable devices take mapped drive letter F: (used for a legacy application). Is there a way to in XP to start assigning letters for removable devices at a certain letter (say U:). The removable devices can change so permanently changing the device letter in disk management only works until they plug in a new device (that has not yet been permanently assigned a letter) Tag: Get the USB host controller speed within miniport driver Tag: 45957
Behavior of AVStream after returning STATUS_PENDING from Process routine
Hi there,
I am writing a filter-centric avstream mini-driver. However, I
discover that the filter's process routine is kept entering even I
have returned STATUS_PENDING. I have no other AttempProcess statement
elsewhere in my code. What's wrong?
I have tried to comment out the SetTimer statement of the AVStream
avssamp sample... however, it still works by keep entering the Process
routine...
Thanks for your kindest help.
Regards,
Panda Tag: Get the USB host controller speed within miniport driver Tag: 45956
Hel pn Wait_semaphore IFSMGR READ
Hi all
I am writing a VxD in 98. I am hooking to the IFSMGR functions. The requirement i
Whenevr a File read happens The VxD will block the call and inform the ring 3 application. Then the ring3 app will decide whether to allow or deny the request.
For communication between the ring0 and ring 3 i am using a shared event
When i am blocking the Read request in the IFSMGR read
I am using a Wait_Semaphore(
Once the response comes We will signal the semaphore
It is working for some files and system hangs for other
Here is the pseudo code of what iam doin
IFS_MGR REa
Get The File Nam
Copy the file name to a structur
structure.SemaphoreHandle = Create_Semaphore(0)
Put structure in Queu
_VWin32_SignalEvent( shared event)
Wait_Semaphore(structure.SemaphoreHandle)
Allow/deny the reques
End IFMGR REA
whenever the ring 3 issues an ioctl to read the request
Read from queu
Whenevr the ring 3 is giving a respons
Signal_Semaphore(structure.SemaphoreHandle
This works fine with notepad
But when i am accessign anything in c:\windows, All dll
it is hanging
Is the code is reentrant as in case of 2000
Thank
Jone Tag: Get the USB host controller speed within miniport driver Tag: 45949
How to getdrive letter of the USB flash drive
Is it possible to know the Drive letter assigned the flash drive, after its plugged in, I know the vid/pid of the device, I just want to save some data to the flash drive, but need to know whats the drive letter, as it can be different on different machines.
Waz Tag: Get the USB host controller speed within miniport driver Tag: 45948
How to setting KSDATAFORMAT tructures for MPEG4??
Hi all
For the datarange ,we can find KS_DATARANGE_MPEG1_VIDEO
KS_DATARANGE_MPEG2_VIDEO for MPEG1 and MPEG2,how about
MPEG4??
another members of KSDATAFORMAT what value should I set??
Thanks a lot Tag: Get the USB host controller speed within miniport driver Tag: 45945
TDI_EVENT_DISCONNECT
When ClientEventDisconnect() is called I know how to get
the address object but how do I get the connection object? Tag: Get the USB host controller speed within miniport driver Tag: 45943
How to let FAT and FAT32 available only, for Formatting SD in windows XP
Hi
I am writting a SD (Security Digital) driver for WinXP/Win2000, after SD driver was installed. I wish that when I format the SD, there are only FAT and FAT32 available for choosing.
How to do that
Is it possible to do that by adding something in driver
By the way, my SD driver was written in SCSI miniport.
Thank you anyone who can give me a help Tag: Get the USB host controller speed within miniport driver Tag: 45941
conditional compilation
hi
i do have a scenario in which certain portions of the file are to be included for a driver and others for user mode programs. i want to carry on a conditional compilation. does windows 2003 ddk build generate some env variables or flags to say if its a driver
thanks. Tag: Get the USB host controller speed within miniport driver Tag: 45939
how to control the COM-port from driver
hello
i've opened COM-port with ZwCreateFile. now i in need to control the port. how it can be done
thank you. Tag: Get the USB host controller speed within miniport driver Tag: 45932
HID implementation on Windows XP/Longhorn
We're putting together an ASIC that exposes HID as well as non-HID devices on the same chip, with one USB device port. That is, there's one device, several endpoints, several configurations. My question is..
Is it better to put these devices behind a hub, or to just expose the multiple endpoints without a hub? We're still in the hardware design phase, so we can go either way
I had read somewhere that there are issues with using the stock Microsoft HID driver if there are other endpoints peered to it. Any and all comments are appreciated
Thanks in advance! Tag: Get the USB host controller speed within miniport driver Tag: 45923
USBCAMD2 Video Freeze issue.
Hi all,
I'm having a stange problem with a USBCAMD2 based driver for a custom USB
camera we're working on. We have only 1 video stream whose format is RGB24.
In ProcessRawVideoFrameEx(), if I do the following:
frameBuffer = (BYTE*)FrameBuffer;
frameBuffer[0] = frameBuffer[1] = frameBuffer[2] = 0;
.
. fill in the rest of the frame buffer with actual data
.
the video frame is not drawn. However, if frameBuffer[0], frameBuffer[1], or
frameBuffer[2] is non-zero, the video frame is drawn (Note that only one
needs to be non-zero, not all three).
We noticed this because the video stream would "freeze" whenever the first
pixel was completely black RGB(0,0,0). As soon as the pixel goes to anything
but black, the video resumes.
Has anyone else seen this? I find it quite bizarre & can't figure out why
it's doing it.
Thanks,
Jerry Tag: Get the USB host controller speed within miniport driver Tag: 45920
how to check a driver's version ?
hi:
I'm using Windows XP with VC 7.1.
Is there a Win32 API to check a driver (*.sys) version?
Thanks
Polaris Tag: Get the USB host controller speed within miniport driver Tag: 45918
memory mapped files
I'm loading a large file into a section with ZwCreateSection. Then I'm going to map a view with ZwMapViewOfSection
I only need a portion of this file to be visible in my View. But the portion starts say at offset X into the file. I only need to read Y bytes of the file from that point on. Are the SectionOffset and ViewSize arguments for ZwMapViewOfSection the right guys for this job
If X is not an even multiple of the PAGE_SIZE, then where is the rounding down reflected so that I am aware of what the Base Address is actually pointing at. Is it pointing to the 0th byte of my view, i.e the Xth byte of my file or are other offsets involved
Please fix this picture for me
Virtual Memory
p == page boundr
( ==start of my file after its mapped int
) == end of my fil
X == start of where I'm intereste
Y == length in bytes of what I'm intereseted i
] == end of where I'm intereste
p-------....--------p--------...----------p-------------------p---------...-------p------- ...
(------...-----------------X----...-Ybytes-.....-----]------...------
I don't want to end up wasting LOTS of space in the VM system and lots of time loading up the system with data I'm not interested in
Thanks Tag: Get the USB host controller speed within miniport driver Tag: 45908
User-mode midi-driver
Hi everyone,
I'm not sure if this is the right place to ask for, but I will just go
ahead:
I'm currently writing a virtual midi-driver which is implemented in a
user-mode-driver mymidi.drv. I have taken the sample from the
nt 4.0 ddk and adapted it to my needs. I got two problems:
1.) If I install on a system where no midi-driver has been installed
previously, my driver will not show up in the audio & midi settings
in the control-panel. I think that I need to install some MS component
which will not exist until the first midi-driver is installed...
Any hints, on what I need to include in my inf-file?
2.) If I get this thing installed right (on a system which already got
a midi-port active), the driver is installed. Unfortunately there,
the audio & midi settings control panel applet won't start any
more. With OutputDebugString I found out, that my driver is
loaded and the DriverProc is called with "DRV_LOAD" - but
that's it...
Does anyone have ideas why driver-loading seems to fail (even so bad
that the control panel applets aborts)?
Best regards,
Tobias Tag: Get the USB host controller speed within miniport driver Tag: 45905
printer properties
Hi
Does someone know if a printer driver has to have a custom property page or
not? Is it possible to specify, that my printer driver has no property pages
during DrvDevicePropertySheets ??
MR Tag: Get the USB host controller speed within miniport driver Tag: 45900
Hi,
Is there anyone can tell me how to get the USB host controller speed
(High/Full speed) connected within NDIS-WDM miniport driver??
Re: Get the USB host controller speed within miniport driver by Eliyas
Eliyas
Wed Jun 02 14:15:50 CDT 2004
Get the USB_BUS_INTERFACE_USBDI_V1 interface from the bus and call
IsDeviceHighSpeed. For an example on how to send query-interface, take a
look at the ToasterGetStandardInterface function in the
toaster\func\toaster.c file.