Printer driver packaging
Hello,
I have a question and i hope somebody will be able to help.
I need information on how to package and distribute a printer driver to be
conform to the "Designed for Windows" signature.
Thanks. Tag: test Tag: 76997
NDIS SendComplete- Please help!
Hi,
My NDIS miniport driver is always crashing under heavy load when
SendComplete is being called. What does SendComplete do?
NDIS called SendPackets()
Within SendPackets, I call transmit which tries to post packets to the
hardware. If I cant, I call SendComplete wth STATUS_PENDING and throw
the pkt onto a queue, otherwise I call SendComplete with
STATUS_SUCCESS.
What am I missing here?
Please help! Tag: test Tag: 76977
SSL, Kernel, and NDIS
Is there any way to implement SSL in the NDIS IM Driver? I think there
is, but I'm not sure as to the first way to go about this.
-Jay
(patelj27b at gmail dot com) Tag: test Tag: 76971
NDISProt and NdisMediumWan Problems
I've extended the sample NDISProt driver to support NdisMediumWan devices. I
can bind to the NdisWanIp device and issue OID queries to it. However, the
driver is not receiving any data from the device and all send packets issues
from a host app (via an IOCTL interface to the driver) fail.
All that I did was change MediumArray[2] = {NdisMedium802_3, NdisMediumWan}.
Is there something else that I need to do to support read/writes to
NdisWanIp?
Thanks! Tag: test Tag: 76970
help install driver and help drivequery.exe
Hello,
when I run driverquery.exe ( windows xp ) I can see that my driver ( for
usb ) is Manuel and stopped.
How is it possible to change in Running ?
thanks
Vincent Tag: test Tag: 76968
How does KeWaitForMultipleObjects() handle multiple signaled objects?
Hello,
If KeWaitForMultipleObjects() waits (with WaitAny) for multiple objects
and they get signaled more or less at the same time. Does
KeWaitForMultipleObjects() return for each signaled object with
STATUS_WAIT_*? Or does KeWaitForMultipleObjects() return once and I have
to read the state of each object?
Thanks!
--
h.wulff Tag: test Tag: 76953
NDIS PassThru IM Driver Using SSL and Certificates
Hey There,
Does anyone out there have any idea where to begin with this? I
need to write an NDIS PassThru IM Driver that will also work as a VPN
and take a packet sent to a specific server, "http://xxx" and change it
to go through "https://xxx" and use SSL encryption. Any ideas as to
where to begin with this? I don't see any useful information in the DDK
or through google.
-Jay
(patelj27b at gmail dot com) Tag: test Tag: 76949
crash in directx when usb hid device is connected
Hi all,
I have developed a USB HID device based on the PIC16c745 - it works great,
but there is one small problem. When it is plugged in, most directx apps (eg.
games and dxdiag) crash inside of dinput.dll. Other than this, the devices
works great, I can control it via the HID interfaces in the DDK without any
problems.
When the crash happens the backtrace looks like this:
http://www.heenan.me.uk/vs.png
Without this USB device that I have developed connected everything works
fine. I'm using the latest available version of directx (Feb 2006) on XP Pro.
Same version on Server 2000 does not show the problem.
I initially posted this into the programmer.directx.input group (see
http://tinyurl.com/z5zkb) but they suggested I post here instead.
Any help greatly appreciated.
Thanks
Joseph Tag: test Tag: 76948
question for secondary dump data callback
Hello. I have problems with my bugcheck secondary callback (WinXP SP2). My
callback is indeed called, but there are two issues:
a) My callback is called only once, and I cannot see my information in the
kernel crash dump. I believe that the DDK mentions that my callback should
be called twice: once for buffer length and address acquisition, and then
again for actually copying the data. My callback code, which was adapted
from an archive, is shown below after this letter.
b) In some cases, when I tried the .enumtag command, I got a listing of
information (my GUID was not there). However, sometimes I got the following
error:
1: kd> .enumtag
Unable to start enumeration, HRESULT 0x80004002 (E_NOINTERFACE, what does it
mean here, and did I cause it?)
Any ideas?
thanks,
Philip Lukidis
bugcheck callback:
// watch out, called at IRQL==HIGH_LEVEL
VOID TestBugCheckSecondaryDumpDataCallback(
IN KBUGCHECK_CALLBACK_REASON Reason,
IN PKBUGCHECK_REASON_CALLBACK_RECORD Record,
IN OUT PVOID ReasonSpecificData,
IN ULONG ReasonSpecificDataLength
)
{
UNREFERENCED_PARAMETER(Reason);
UNREFERENCED_PARAMETER(Record);
PKBUGCHECK_SECONDARY_DUMP_DATA pData;
pData = (PKBUGCHECK_SECONDARY_DUMP_DATA) ReasonSpecificData;
if(pData &&
(ReasonSpecificDataLength==sizeof(KBUGCHECK_SECONDARY_DUMP_DATA)))
{
pData->Guid = TEST_CRASH_GUID;
// this is for acquiring the address and buffer length
if(pData->OutBuffer == NULL)
{
pData->OutBuffer = (PVOID)g_CRASH_STRING;
pData->OutBufferLength = g_CrashLen;
}
// request to copy the data (we never get here, we're called only
once!)
if((pData->InBuffer == pData->OutBuffer) && pData->InBuffer)
{
if(g_CrashLen < pData->OutBufferLength)
{
RtlCopyMemory(pData->OutBuffer,g_CRASH_STRING,g_CrashLen);
pData->OutBufferLength = g_CrashLen;
}
}
}
} Tag: test Tag: 76943
Windows clipboard
Hi,
I wanted to know if the following is possible.
When an application is copying some data to the clipboard, is it
possible to hook into the clipboard so as to know the name of the source
application that is copying the data to the clipboard.
Also is it possible to get the name of the file from which the contents
have been copied to the clipboard?
Thanks in advance.
Best Regards,
Vishal Tag: test Tag: 76942
RAID Cluster MAP to Physical LBA relationship
Does anyone know of any tools which display the current mapping between
clusters and physical LBAâ??s on an XP Pro (SP2) NTFS (three drives) Stripe set
and is there any method of changing this? Maybe a description of how NTFS is
implemented across a RAID array?
I have a video application simulated by writing a 100MB file and reading the
file back. The file is written to 3x SCSI disks, striped and formatted using
NTFS (default cluster size of 4KB). The system is a 3.6GHz Xeon with 3.25GB
RAM.
The simulation creates multiple files (keeps going until the volume is full)
and for each 100MB file calculates the average write transfer rate and read
transfer rate.
Most of the time, the write transfer rate is around 160MB/s but sometimes
drops to 75MB/s (occasionally much less). For writes, a dip to 120MB/s for
the real application could cause a loss of some real-time data.
Concentrating on Writes: with the higher transfer speeds, each of the 3
drives in the Stripe get Write commands to the same LBA and (mainly) 64K
transfers. The LBAs being written to are sequentially increasing. For the
â??badâ?? scores a combination of things can happen. The LBAs being written to
will increase sequentially and then the LBA range will change (usually lower
physical area of the disks) and/or the transfer size will change to much less
than 64K (I saw one transfer of 4K).
The change of LBA range wouldnâ??t hurt things much, but the change in
transfer size from 64K means much less efficient use of the SCSI bus (more
commands, less data with each) and seems to be the root cause of the
occasional performance dip.
The issue does not appear to be anything to do with fragmentation â?? just the
way in which the drives are being used by XP / NTFS
Hence the question
- Any good tools to look at how a files is going to be mapped physically on
an NTFS Software RAIDed volume
- Any method of tweaking?
NOTE: This is the fisrt time I've used the forums so apologies if this is
the wrong forum to be asking this question! Tag: test Tag: 76941
64 bit passthru driver noe getting installed
Hi,
I have built the 64 bit Amd64 passthru driver.
The ddk used is 2003 SP1 ddk
I am trying to install this on 64-bit XP SP1 on
Intel Xeon 2.8Ghz.
It never gets installed on pointing to passthru driver's inf.
This is what the setupapi.log emits:-
[2006/03/09 16:26:31 960.15924 Driver Install]
#-198 Command line processed: C:\WINDOWS\Explorer.EXE
#-166 Device install function: DIF_SELECTDEVICE.
#-166 Device install function: DIF_SELECTDEVICE.
#E157 Default installer failed. Error 0xe0000214: The specified path does
not contain any applicable device INFs.
What is the possible cause of this issue?
--
Vipin Aravind
http://www.explorewindows.com Tag: test Tag: 76938
virtual drive driver and few problems
Hello,
I've problems with my driver(w2k, wxp)
1) formating virtual drive with fat32, i get error: system could not
finish operation, but drive was successfully formated. NTFS works fine.
2) sometimes system sends strange ioctl 0x0066001b, what is this?
Device type 66, command 06 ??
3) my major trouble, i cannot share my virtual drive,
When someone trying access to my shared virtual drive, gets error
"Not enough server storage is available to process this command".
Not all my machines show this error, sometimes works fine :(
Does someone have solution for mounting readonly ntfs drives on w2k?
Maybe exist a patch for that.
--
Marcin Gabryszewski Tag: test Tag: 76936
Linker error LNK2026
Hello,
I am developing and maintaining a Windows 2000 driver.
In order to keep my development environment and tools up to date, I just
switched from Win 2003 Server DDK to Win 2003 Server DDK SP1.
Since this change, when I want to rebuild my Windows 2000 driver (using W2K
inc and libs of the DDK), I get the following error :
wdm.lib(NTOSKRNL.EXE) : error LNK2026: module unsafe for SAFESEH image
Does anyone experienced the same?
Can someone tell me the way to get out of this problem?
Thanks,
Olivier Tag: test Tag: 76935
Occasionally false samples from a soundcard driver
A PCI bus based "professional" soundcard has a digital input (S/PDIF).
Connected this input to a CD player's output and recorded about 20 seconds
using waverecorder.
Found 12 "clicks" in the recorded WAV file.
The clicks are false sample values, exactly one false sample in each case
(sample rate does not matter, same at 22kHz, 44.1kHz, 48 kHz, 96 kHz).
Sample value is random (never full scale nor zero).
Searched for the clicks and determined their sample number.
10 of them have a sample number ending with "1", 2 of them end with "2", so
definitely *not random*.
Calculated the difference between sample numbers ending with "1".
Calculated the gcd (greatest common divisor) of these differences and found
that it is always 440 (or multiples of 440, e.g. 880, 2200).
Soundcard is a PCI busmaster, but has "Min_Gnt = 0" and "Max_Lat = 0".
My questions:
From the point of view of a device driver programmer do you have any idea
what goes wrong here?
What may the 440 stand for?
Juergen Tag: test Tag: 76933
KMDF CoInstaller problems
I'm having a problem installing a KMDF HID filter driver.
If I use the CoInstaller binary in the 5308 WDK I get an error "The
specified resource type cannot be found in the image file". Setupact.log
suggests that the resource WDFCAB_RESOURCE cannot be found.
If I use the CoInstaller binary in the 5270 WDK I get an error "An
internal certificate chaining error has occured". The setupact.log
suggests that GetLatestInstalledVersion failed OpenFile with error 126
If I open the 5270 coinstaller in DevStudio and extract the cab resource,
right-clicking on the inf and selecting Install. Then I can install my
KMDF driver without any problems. The 5308 WDK coinstaller does not appear
to have this resource, and is significantly smaller.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ Tag: test Tag: 76932
WZC reverting the ssid
I am working on setting SSID on my wireless network card uisng winddk using
ioctl commands.
For setting ssid, the steps i am using
1. For open network
Stop WZC
Set InfrastructureMode
Set Ndis802_11WEPDisabled
Set SSID
strat WZC
its working fine
1. For secured network
Stop WZC
set Ndis802_11AuthModeOpen
Set InfrastructureMode
Set SSID
Set Ndis802_11WEPEnabled
Set ADD_WEP_KEY
till here its fine it get connected
starat WZC ---> WZC reverts back to other SSID. So starting WZC causing
the issue.What can I do to avoid it.
Avnish.
its working fine Tag: test Tag: 76927
How can I determine the size of one cluster?
Hi, all
How can I determine the size of one cluster in specified file system, such
as FAT32 or NTFS?
It is known that:
the Default Cluster Sizes can be decided by volume size.
for example(For NTFS):
Volume Cluster
0 to 512 MB ----- 512 bytes
513 MB to 1 GB ----- 1 KB
1025 MB to 2 GB ----- 2 KB
2 GB and greater ----- 4 KB
But how can I get this exact information from system (or some place on disk)?
Thanks a lot! Tag: test Tag: 76922
Returning order of CompletionRoutines() and IoCallDriver()
Hi
Let's say I'm a high level driver and i call IoCallDriver to pass an
IRP down
the stack, and the whole operation is synchronous.
There are several devices in the stack (let's say A,B,C,D), each one of
them has a completion routine (except D). After device D completes the
irp, all completion routines for all the devices are being called, and
only afterwards all the IoCallDriver() routines of all the devices
return? (or if I'm wrong, what is the right order?)
Thanks Tag: test Tag: 76916
kernel vs user file name
I need to read a file in a kernel mode driver. The file name is passed from
a user mode application in the form of "C:\file" or \\Computer\Share\File.
Is there a standard kernel or user mode API, or some document describing the
proper algorithm to convert "C:\file" to "\??\C:\file" (or "\Device\...."),
and "\\Computer\Share\File" to "\Device\Lanman..." (or whatever), in order
to make a user mode file name usable in kernel mode?
Thank you. Tag: test Tag: 76914
to make memory read only
Hello All,
I writing a driver for windows 2k/xp/2k3. For debugging purpose I want to
make a data structre read only. There is call MmProtectMdlSystemAddress to
change it to read only but it is only supported from XP onward. Is there any
way i can do it on windows 2000.
Thanks Tag: test Tag: 76910
IoCompleteRequest() from WorkItem
Hi
Lets say I'm in PASSIVE IRQL in a dispatch function.
I mark my irp as pending. Later, I create a workitem that receives the
irp as a context and do some work in it. In the end of the workitem's
function, I complete the IRP.
Back to the dispatch routine - after allocating and queuing the
workitem, I return STATUS_PENDING.
Now, because I'm in PASSIVE level, there can be a context switch from
my dispatch routine to my workitem's function, so it will run and
complete the irp, before I return STATUS_PENDING from the dispatch
routine. (it means that when I return STATUS_PENDING, the irp is
already completed!)
Is there a problem with the above scenario? And if so, how should I
handle it? Tag: test Tag: 76904
Looking for information on USB mouse firmware
Hi driver experts,
I would like to learn how to write/modify/load USB mouse firmware. Any
suggestions on books, support websites, forums? If this is not suitable for
this site, can anyone direct me to suitable places for this kind of posts?
Thanks in advance. Tag: test Tag: 76903
WHQL tests not required for Windows XP home?
Hi,
To get our driver signed for Windows XP Pro and XP Home, do I need to run
WHQL test for only XP Pro or both? The document seems to indicate that XP
Home is not required. Is this true?
Thanks,
Ning Tag: test Tag: 76902
Synchronizing the clock of few computers on a LAN
Hi,
I have about ten computers that needs to be synchronized such as the clock
time on
each computer is within about 20 ms from the others. There are soft real
time applications distributed on the computers that needs to synchronized.
Can the windows 2000 and XP w32time service achieve that?
Any third party software?
Any other way to synchrinize those applications? external devices?
--
Thanks,
Daniel Tag: test Tag: 76897
OS compatibility
When building the samples for W2K I get warnings telling that certain
drivers are not compatible with W2K. Is there an easy way to find out
why they are not compatible? I have searched the documentation for a
table showing the differences between the various OSes but I can't
find one. Tag: test Tag: 76892
UDF Filter Driver
I have written a filter driver that sits inbetween the UDF and various dvd
playback applications. In my filter I need to fail a read and get the
application to stop playback.
I am doing this by setting
Data->IoStatus.Status = STATUS_DEVICE_IO_ERROR;
Data->IoStatus.Information = 0;
WinDvd interprets it correctly and cleanly stops playback. MediaPlayer (and
some other players) start playing ugly static out of the speakers and the
time counter keeps climbing eventhough it is no longer playing video. I have
tried various other status codes but it doesn't seem to matter.
It seems like they are not checking the return status...
Any thoughts?
--
Still trying to build a perpetual motion machine Tag: test Tag: 76887
Registry entry for a driver.
I have a driver for a device, after i install the driver, it places lot of
registry entires in the system, so how could i bactrack or recognise, what
all the entries in the registry has been made by the driver.
Can any one suggest your ideas, so that i would be thankful.
Regards
Prasanna Tag: test Tag: 76885
=?utf-8?B?SG93IHRvIGhvb2sgU1RSRVRDSEJMVCDvvIhwcmludGVyIGRyaXZlcu+8iQ==?=
Dear All=EF=BC=8C
I am writing a printer driver=EF=BC=8CI want to hook the STRETCHBLT
function=EF=BC=8Cbut I can not get it work=E3=80=82
My codes section as below=EF=BC=8C
/////////////////////////////////////////////////////
hSurf =3D EngCreateBitmap( sizeSurface,
GetBmpDelta(Format,
pPDEV- >ulHorzRes),Format,BMF_USERMEM|BMF_TOPDOWN, NULL) ;
EngAssociateSurface( (HSURF)hSurf, pPDEV->hDev, HOOK_STRETCHBLT ) ;
//////////////////////////////////////////////////////
BOOL WINAPI DrvStretchBlt(
IN SURFOBJ *psoDest,
IN SURFOBJ *psoSrc,
IN SURFOBJ *psoMask,
IN CLIPOBJ *pco,
IN XLATEOBJ *pxlo,
IN COLORADJUSTMENT *pca,
IN POINTL *pptlHTOrg,
IN RECTL *prclDest,
IN RECTL *prclSrc,
IN POINTL *pptlMask,
IN ULONG iMode
)
{
MessageBox(NULL,L"DrvStretchBlt",L"printer driver",MB_OK);
iMode =3D HALFTONE;
return EngStretchBlt(
psoDest,
psoSrc,
psoMask,
pco,
pxlo,
pca,
pptlHTOrg,
prclDest,
prclSrc,
pptlMask,
iMode
) ;
}
/////////////////////////////////////////////////////////
Anybody can give me some advice=EF=BC=8CThanks a lot=EF=BC=81
Best Regards=EF=BC=8C
Black Tag: test Tag: 76879
USB Host controller on Windows
I want to transfer data from a SH7727 target board to Windows through
USB protocol. How should I go about it? If i use the host controller on
PC,what is the procedure to access the USB port of the target board.
please help me out. I am stuck. Tag: test Tag: 76876
WDK install issue
Does anyone know of a way to specify the installation directory when the MSI
has disabled the browse functionality? I do not have enough harddrive space
on C: and would like to install to D: instead. Tag: test Tag: 76872
PICs for driver signing in x64 unavailable?
I was just forwarded an email response we received from WinQual when we
inquired about getting a PIC for signing our drivers for the new x64
signing policy. I'm hoping I'm just over reacting, but...
I was disturbed to hear that they are not available at this time. In
fact, there was a strong implication in this email that PICs would not
be available until the last release candidate for Vista.
Here is the relevant portion of this email: "This is not available yet,
but should be in time for Vista launch. The PIC is a new signing program
for files we couldn?t sign before. We?ll be making more announcements
regarding the availability of PIC to sign drivers as we get closer to
the Vista logo program launch, which will be at the last Release Candidate."
Microsoft has done this in the past (i.e. not releasing full WHQL tests,
signing tools, etc. until just before RTM), and it always has caused
problems. So I'm trying to head this off at the pass this time.
I don't know about the rest of you, but we need time to get a PIC,
integrate signing with it into our build process, build a driver, test
it internally, fix any problems that signing caused (and rebuild and
retest) and deliver a candidate driver to the OEMs early enough that
they have time to test it themselves (and get any needed bug fixes)
before their deadline for burning a golden master for manufacturing of
their first x64 machines.
And that's assuming that the Vista Beta community doesn't find any bugs
in the kernel embedded signing code in Windows...
I'm crossposting this to m.p.d.d.d because I think this issue is of
wider interest than just the winlogo newsgroup. And yes, I've already
sent an email to WinQual about this.
--
Ray Tag: test Tag: 76867
Bug in CDROM.SYS
In DDK2000...WDK 5112, CDROM.SYS!CdRomInterpretReadCapacity contains the
following code:
----------------------------
//
// Calculate media capacity in bytes.
//
commonExtension->PartitionLength.QuadPart = (LONGLONG)(lastSector + 1);
//
// we've defaulted to 32/64 forever. don't want to change this now...
//
fdoExtension->DiskGeometry.TracksPerCylinder = 0x40;
fdoExtension->DiskGeometry.SectorsPerTrack = 0x20;
//
// Calculate number of cylinders.
//
fdoExtension->DiskGeometry.Cylinders.QuadPart = (LONGLONG)((lastSector +
1) / (32 * 64));
commonExtension->PartitionLength.QuadPart =
(commonExtension->PartitionLength.QuadPart <<
fdoExtension->SectorShift);
----------------------
The code rounds the number of cylinders to (32*64) for DISK_GEOMETRY, which
results
in a wrong value returned to the caller. The number of sectors becomes
wrong, too (TracksPerCylinder * SectorsPerTrack * Cylinders).
IOCTL_DISK_GET_DRIVE_LAYOUT and IOCTL_DISK_GET_PARTITION_INFO return the
correct media capacity in
PARTITION_INFORMATION.PartitionLength. The difference between
PARTITION_INFORMATION and DISK_GEOMETRY prevents
certain filesystems, including NTFS, from being mounted from
CD/DVD/BD/HDDVD/...
>> // we've defaulted to 32/64 forever. don't want to change this now...
I think now it's a good time to fix it at last, at least for Vista.
Thanks Tag: test Tag: 76866
XP64 -does not load Windows Defender (Beta 2) spyware detector -
Any solution to loading Windows Defender (beta 2) on XP64 ? Error message
said it only works on 32 bit systems. Why doesn't it load in the 32 bit
section?
Seems a little wierd that the Deffender can not be used in XP64. Tag: test Tag: 76864
WDF 1.0 PCIDRV.sys and NDISEDGE.sys will not load
I built pcidrv.sys and ndisedge.sys with Winddk Longhorn x86 checked
environment, plus set_wdf_env.cmd and kmdf\inc. Then installed them with the
netdrv.inf and wdf**.dll co-installer in vista Beta2.
However, both drivers cannot be loaded and the device manager error code is
#37,
"Windows cannot initialize the device driver for this hardware." No any
event log associated with those failure either.
Can any Microsoft expert duplicate the problem ? or I missed anything during
build or install ?
Thanks for any advice.
-Gary Li Tag: test Tag: 76863
Mobo Procomp (BS61M ver.1.0 socket 370)
Hi to all,
i'm searching for the win98 driver (video and sound on-board) of Procomp
(BS61M ver.1.0 socket 370), in subject.
tanks to all.
Matteo Tag: test Tag: 76858
assembly routine return values in which regs??
Folks,
For IA32 assembly code, the return values from routine will be stored in ECX
& EAX registers.....
For AMD64 assembly code, will the return values be stored in RCX & RAX
registers?
Also, (in AMD64) if the routine just need to return single byte, then would
it just need to store it in AL register (& word means AX, DWORD means EAX and
so on)??
--
++Sathya Tag: test Tag: 76854
unidrv plugins and dialog boxes
I have been having difficulty trying to determine where it is possible
to display a dialog box from a unidrv plug-in. From what I read in
the documentation it appears as though both UI and rendering plugins
run in the application's context, before anything is sent to the
spooler. If this is indeed the case I would assume that it would be
possible to display a dialog box to capture document specific
properties during EnablePDEV processing in a rendering plug-in. This
would allow me to capture things like fax #s for each document by
displaying a dialog to the user who started the job. I further assume
that the dialog box would appear in a particular user's termnal
services window.
Are my assumptions correct or am I completely out to lunch? If I am
out to lunch what would be the easiest way to capture fax #s for each
individual document in a terminal services environment? Tag: test Tag: 76853
MONITOR_INFO_2
What are the values pEnvironment member of MONITOR_INFO_2 can take today?
The below is from the documentation, which I beleive is old. What about 64
bit systems(itanium and
AMD)?
pEnvironment
Pointer to a null-terminated string that specifies the environment for
which the monitor was written (for example, Windows NT x86, Windows NT
R4000, Windows NT Alpha_AXP, or Windows 4.0).
--
Vipin Aravind
http://www.explorewindows.com Tag: test Tag: 76852
Word crashes with my printer driver, but no other programs do.
Hi,
I'm developing a printer driver UI based on the MSPLOTUI sample from
the DDK.
It works great from all applications except Word, which craches. It
seems that Word is calling some functions on the driver that the other
programs don't. Can anyone give me a list of the printer driver
functions that Word calls, and the order they are called?
/Erik Tag: test Tag: 76851
Large Transfer Lengths With SCSI Pass-Through?
Is it possible to make transfer larger then 64KB via SCSI Pass-Through?
If so how is the best way to go about it?
If this is SCSI HBA dependent how can you tell the maximum transfer length
size allowed?
I looking to test up to 16MB transfers. Tag: test Tag: 76849
Write a WDM driver
Hi,
I wanted to write a Mouse filter driver which will intercept the mouse
click and trigger the user applications like those in the logitech ,
but not their own.. i wanted to invoke my own applicatoins.
I have tried to write the mouse driver but got stuck..
I am stuck at this point as what approach I should take? If I should
take the HID class help or what ... ?
I have fair understanding of the WDM but not done any fillter
drivers...
I want to the driver on the machines and configure the mouse to open my
application intercepting the mouse clicks..
I would really appreciate if anybody gives me the proper direction on
designing the driver..
thanks.
--
Abhijit. Tag: test Tag: 76848
installing a driver using devcon
hello,
i have a weird behavior i don't understand -
i'm using devcon in order to install a software driver. when i put the
sys and inf file in any folder (even hidden) everything is ok, but when
i put them in the c:\windows\inf file there is a pop up asking for the
sys file (and when i direct it to the inf folder it installs it).
why is that? how do i solve that?
thank you, Tag: test Tag: 76847
Causes of USBD_STATUS_ISO_NOT_ACCESSED_BY_HW
Greetings,
I realize in my previous post "NEC B1 HC chokes with full BW USB2 ISO IN
stream" my primary question was hidden in a flurry of details.
Can I be doing something in my USB camera driver to cause the
USBD_STATUS_ISO_NOT_ACCESSED_BY_HW error I am seeing with the NEC host
controller? The only thing I have heard of that causes this error is
URB starvation. That is clearly not the trouble. I am queuing 10 URBs
of 32 packets each. Also, the driver works perfeftly under the VIA
controller. Is there some subtle error I might be causing that effects
the NEC controller but not the VIA one, or is there simply a bug in the
NEC controller?
Best regards,
Tom Udale Tag: test Tag: 76846
WDF Driver Install problem
Hi, I'm developing a WDF driver for a PCI device. I have written a simple
driver and the INF. The INF file seems ok when used with CHKINF. When i
install it on the target system (XP checked build 2600) everything looks ok
but at the end it simply says the drivers are not installed. Looking in
WinDBG reveals the following when the driver installs:
InstallDev error = 643
Anyone have any suggestions? Have tried to find information on the error
but am having trouble finding anything.
Thanks in advance. Tag: test Tag: 76844
PC as USB device
Is it possible that I can design an application running on my PC behave
as an USB device to another USB host(running on a SH7727 board)? Tag: test Tag: 76840
DDK PCIDRV + NDISEDGE cannot be loaded in Vista B2.
I built the winddk samples of pcidrv and ndisedge in longhorn x86 build
environment of winddk, and used the netdrv.inf to install them in Vista Beta2.
ndisedge.sys is loaded as the upper filter driver of pcidrv, and the
DriverEntry() is called. However, the MPInitialize() never been called,
instead, MPUnload() in ndisedge.sys is called and the filter driver is
unloaded. pcidrv.sys itself is working Ok.
Anyone has suggestion what I did wrong ? build or install ?
or the ndisedge.sys itself has problem ?
Thanks in advance.
-Gary Li Tag: test Tag: 76831
Q) What's better way.(Using DriverStudio from Compuware or Win DDK sample source code)
Subject : What's better way.(Using DriverStudio from Compuware or Win DDK
sample source code)
Hello every one,
I have a DriverStudio that has a feature to generate a Driver source code
automatically.
Is it better way to adapt a source code from DriverStudio not from Win DDK
sample source code?
Please share your experience or your suggestion.
Detail experience will be more appreciate.
Thank you.
// Daum Tag: test Tag: 76829
NTFS writing
I have a device that supports writing in 64K blocks only. To write say
4096, I need to read 64K, update 4096, then write 64K. This causes
significant performance degradation with NTFS. Is there any way, like
reporting certain geometry or whatever, to make NTFS send bigger write
chunks to the device whenever possible, especially when updating MFT?
Thanks! Tag: test Tag: 76820