PCL to EMF
How can i convert PCL to EMF, is there a way so that i can program this.
Similar to this I am keen to know if I could convert Postscript(PS) to EMF
with out depending on Ghostscript. Basically i would like to render PCL or PS
files in my VC++ programs and try to extract the text from it. I am not
bothered about the graphics with in these files and only bothered about the
text with in. Somebody please help me with this.
Thanks... Tag: Thread Safe Tag: 70813
PCL to EMF conversion
How can i convert PCL to EMF, is there a way so that i can program this.
Similar to this I am keen to know if I could convert Postscript(PS) to EMF
with out depending on Ghostscript. Basically i would like to render PCL or PS
files in my VC++ programs and try to extract the text from it. I am not
bothered about the graphics with in these files and only bothered about the
text with in. Somebody please help me with this.
Thanks... Tag: Thread Safe Tag: 70812
scsi rescan caching
Hi,
Regarding the Microsoft own rescan.exe, as found at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;308669
I have found this very utility and particulary the
CM_Reenumerate_DevNode() call, which is used within to do actual bus
rescan, are behaving as if there is some caching involved.
Test as follows:
1. run rescan over and over, from command line, as fast as you can (or
write a shell script to do it)
2. Observe how long does it take, each time, for rescan to finish
You will see the very 1st rescan does take some time to finish while
all subsequent are returning IMMEDIATELLY.
Then again, after 30 or some iterations, rescan AGAIN takes some time,
as if it actually doing something. I made no device additions in that
time. Machine was idle. Test is reproducible.
Note I did above test with both NORMAL and CM_REENUMERATE_SYNCHRONOUS
setting for CM_Reenumerate_DevNode(), same behaviour.
Any thoughts on this?
Thanks,
Robert Tag: Thread Safe Tag: 70808
A question about EngCopyBits
When I implemented the DrvCopyBits function in the mirror driver, I
just punted to EngCopyBits call, but unfortunately, I got a blue
screen. Is there anything else that I should do before punting it back
to EngCopyBits?
Could any guru please give me some suggestions?
Thanks, Tag: Thread Safe Tag: 70806
"build" not showing all build - fixed
Several months ago, I noted that the DDK "build" utility would in some cases
NOT show all errors encountered during a build. I have today found out that
this is a side effect of installing the Windows DDK to a path containing
spaces.
Moving the DDK to a space with no spaces, allows all errors to appear as
expected.
If anyone is interesting in troubleshooting the DDK build utility, here's a
quick way to reproduce it:
1) install DDK to C:\Program Files\Windows DDK
2) drop the 3 files listed below into C:\temp\
3) Launch a build environment DOS window (in my case Windows 2000 checked)
4) in directory c:\temp, type "build -cZ"
==> The only error shown is an *.obj file missing. The *.log file, however,
lists lots and lots of errors.
Here are the files I used to reproduce the issue:
makefile
=========
!INCLUDE $(NTMAKEENV)\makefile.def
sources
=========
TARGETNAME=temp
TARGETPATH=obj
TARGETTYPE=DRIVER
C_DEFINES=-DNDIS_MINIPORT_DRIVER
SOURCES=temp.c
temp.c
=========
#include <ntddk.h>
#include <ndis.h>
NTSTATUS
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
)
{
return STATUS_SUCCESS;
}
Good luck! Maybe one of these days the DDK will allow people to use spaces
in their paths & filenames.... :-)
/ Hannes. Tag: Thread Safe Tag: 70804
uDAPL on Windows?
I need to write a driver for a set of PCI-Express boards and there has been
a request for supporting uDAPL as the API for interacting with this
hardware. The implementations of uDAPL on windows that I have seen appear to
be in their infancy and there is a surprising lack of information out there
describing what a driver needs to provide for services in order to support
this API.
Can anyone point me to either some really good documentation or tell me
another API that is more "at home" on Windows that would accompliush the
same thing (an RDMA type of aAPI). All the uDAPL stuff I have seen has been
geared toward Linux support with windows being an afterthought.
Thanks,
Beverly Tag: Thread Safe Tag: 70799
PFN_LIST_CORRUPT with P1=9A, W2K3 SP1
Hy All,
I've got a PFN_LIST_CORRUPT with P1=9A on W2K3 SP1. This P1 value is not
documented in DDK help (DDK V3790).
Do someone know more about this?
Many thanks in advance,
Francois. Tag: Thread Safe Tag: 70798
Problem writing extension unit plugin.
I am writing an extension unit plug-in for a USB video class device. The
example that I have used as a template, is the Microsoft provided example at
[http://www.microsoft.com/whdc/device/stream/vidcap/USBVid-ext.mspx].
I have experienced quite many problems with this example, the IKsNodeControl
described in the example can't be found in any new SDK or DDK, only in
DirectX SDK from 2004. Has this interface been removed?
I am quite uncertain how I should implement my CreateInstance() method and
my QueryInterface() method. Does anyone have some idea or some hint of how I
should do?
Best regards:
Leopold Tag: Thread Safe Tag: 70788
Virtual COM port emulation over USB
Hi,
I need to write a driver which supports virtual COM port emulation over
USB (for win2k/XP). Can I make use of usbser.sys provided by Microsoft. Where
can i get a complete description of usbser.sys. Does it provide Bulk mode
transfer.
How Can i add an upper/lower filter to usbser.sys.
Thanks in advance. Tag: Thread Safe Tag: 70783
FS driver
Hi Guys
I am created my own file system, i want "Windows Explorer" able to
view/edit its file, how can i write a driver for it? Can i use c# to do
that?
thanks
from Peter (cmk128@hotmail.com) Tag: Thread Safe Tag: 70772
who can give some help about avstream driver.
Hi,
I have realized the usb camera driver which based on stream class
framework,but now I want to re-realize it based on avStream framework. now I
have two questions,who can help me.
1. AvStream's advantage to stream class.
2. if I want realize the usb camera driver based on avStream,which sample I
can refer in DDK.
thank you very much. Tag: Thread Safe Tag: 70770
problem of providing my own version of malloc/free
Due to some reason, I have to provide my own malloc/free/calloc
functions so that other parts of the driver are happy. These functions
are simply a wrapper around ExAllocatePool. However, when I compile it,
the linker complains: "warning LNK4217: locally defined symbol _free
imported in function xxxx".
This is the free() function:
void __cdecl free(void *p)
{
ExFreePool(p);
}
How can I get rid of this message? Thanks Tag: Thread Safe Tag: 70763
sharing memory user mode & virtual video capture driver
I would like to make an user mode application,
send video to a virtual video capture drivers,
based on "testcap" DDK sample.
as this the driver send the video to 3rd party software.
but I would like to know how to share memory with the drivers,
to make my user mode application sending the video to the drivers...
thanks,
renan Tag: Thread Safe Tag: 70760
Library to include at linking for FONTOBJ_pifi
Hi...
Could you please tell me what library I must include at linking for using
of FONTOBJ_pifi function ?
Thank you,
Radu Cosoveanu Tag: Thread Safe Tag: 70755
Hoooking only part of the FastIo routines
Hi
In a file system filter - can i hook only part of the fastio routines?
and if so - how to fill the FAST_IO_DISPATCH structure?
thanks. Tag: Thread Safe Tag: 70751
Is it possible for the mirror driver does not support DrvBitBlt function?
I'm writing a mirror driver based on the DDK mirror driver sample code.
I read the documentation at the msdn library, and learned that if a
driver manages its own surface, the driver must also, at a minimum,
support DrvCopyBits, DrvTextOut, DrvStrokePath drawing functions. I
noticed that DrvBitBlt was also in the DDK mirror driver sample code.
When I hooked off the DrvBitBlt function, I got a blue screen. I'm
trying to avoid implementing DrvBitBlt because of complexity.
Could any guru tell if it is possible not to implement DrvBitBlt
function in the mirror driver?
Thanks, Tag: Thread Safe Tag: 70749
Problem uninstalling keyboard driver
Hi,
I've written a keyboard driver for W2K/WXP which ties in with kbdclass and
works fine. It happily sits next to a standard Windows keyboard driver in
Device Manager. Problem is Device Manager gives no Uninstall option for my
driver and DevCon reports "Remove failed" if I try to remove it.
I've also written a touchscreen mouse driver which similarly connects with
mouclass and sits next to a standard Windows mouse driver in Device Manager.
This does have an uninstall option and can be removed using DevCon.
Both drivers have a similar structure, but is there anything extra I should
be doing in the keyboard driver to make it uninstallable? How should I go
about uninstalling it?
Thanks, Ade. Tag: Thread Safe Tag: 70745
AVStream on Win98
Hi all,
Help really needed... I have managed to build a AVStream driver for an USB
device that runs on all platforms, except win98 se.
According to the documentation of AVStream in MSDN, we can run any AVStream
driver on any OS as long as the OS has DirectX ver8.0 and above.
Exclamation mark is shown in the camera icon in the Device Manager and error
code is "The NTKERN.VXD device loader(s) for this device could not load the
device driver. (Code 2)".
May I know is this problem due to AVStream? Please advise.
Thank you very much. Tag: Thread Safe Tag: 70744
Strange behaviour with USB selective suspend
Hello
I've connected a usb mouse in combination with our own usb device to
the same root hub. Our device supports remote wake-up. The driver for
our usb device sends down a request for usb selective suspend. Nothing
happens. When I unplug the usb mouse, the system happely invokes the
callback routine so the driver sets device power state D2.
I find this behaviour a bit odd. Why does the usb mouse prevent our
device from going into usb selective suspend? I also replaced the usb
mouse with a different usb device but the behaviour remained the same.
This is WinXP SP2. The implementation in our driver has passed whql. Tag: Thread Safe Tag: 70743
how can I map logical drive letter to usb device serial(vid, pid)?
the problem I encountered :
what I know is logical drive letter(assume this drive based on
usb)
what I want is the serial(vid, pid) of the drive's underlying usb
device
Can anyone help ? Thanks a lot! Tag: Thread Safe Tag: 70740
Crashes to Blue Screen when exiting a Game
PerfNet Unable to open the Server service. Server performance data will not
be returned. Error code returned is in data DWORD 0.
Perflib The open procedure for service "WmiApRpl" in DLL
"C:\WINDOWS\System32\wbem\wmia prpl.dll" has taken longer than the
established wait time to complete. There may be a problem with this
extensible counter or the service it is collecting data from or the system
may have been very busy when this call was attempted. Tag: Thread Safe Tag: 70730
this framework code possible in printer UI extension
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C5CC3C.18D87470
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm putting together a proposal for a tool to send a document to PDF =
conversion and then onto a content management solution.
I'm looking at two different approaches, a conventional add-in, which =
first collect some document properties from the user, then sends the =
document along with the document properties to Windows service which =
uses PDF conversion component and via a Web service to store the =
converted PDF to the CMS storage.=20
The second approach, which is why I'm posting to this newsgroup would be =
to create a virtual print driver to do the same thing. print driver is =
certainly the more elegant approach, and it makes the conversion to PDF =
simple or as the conversion component will only need to deal with one =
type of input (EMF)
A few questions:
Is this approach possible? Is it recommended?=20
One of these steps in the process is to present a user interface to the =
user to collect some document properties, after a little bit of research =
in the DDK, it looks like DrvPrinterEvent is the appropriate place to do =
this, no? Is it possible to use managed C++ (C++\CLI) for the =
implementation?
Clearly I still needs to do a lot more learning about the printer driver =
architecture, but answers to the above questions will help me greatly in =
deciding which approach to take.
Thanks,
--Scott W.
------=_NextPart_000_0016_01C5CC3C.18D87470
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<P><FONT face=3DArial>I'm putting together a proposal for a tool to send =
a document to PDF conversion and then onto a content =
management=20
solution.</FONT></P>
<P><FONT face=3DArial>I'm looking at two different approaches, a =
conventional=20
add-in, which first collect some document properties from the =
user,=20
then sends the document along with the document properties to =
Windows=20
service which uses PDF conversion component and via a Web =
service to=20
store the converted PDF to the CMS storage. </FONT></P>
<P><FONT face=3DArial>The second approach, which is why I'm posting to =
this=20
newsgroup would be to create a virtual print driver to do the same=20
thing. print driver is certainly the more elegant approach, and it =
makes=20
the conversion to PDF simple or as the conversion component will only =
need to=20
deal with one type of input (EMF)</FONT></P>
<P><FONT face=3DArial>A few questions:<BR> =
</FONT><FONT=20
face=3DArial>Is this approach possible? Is it recommended? </FONT></P>
<P><FONT face=3DArial>One of these steps in the process is to present a =
user=20
interface to the user to collect some document properties,</FONT><FONT=20
face=3DArial> after a little bit of research in the DDK, it looks like=20
<STRONG>DrvPrinterEvent</STRONG> is the appropriate place to do this, =
no? =20
Is it possible to use managed C++ (C++\CLI) for the =
implementation?</FONT></P>
<P><FONT face=3DArial>Clearly I still needs to do a lot more learning =
about the=20
printer driver architecture, but answers to the above questions will =
help me=20
greatly in deciding which approach to take.</FONT></P>
<P><FONT face=3DArial>Thanks,</FONT></P>
<P><FONT face=3DArial>--Scott W.</FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0016_01C5CC3C.18D87470-- Tag: Thread Safe Tag: 70729
USB stack gives misleading indications when Polling Interval not 1
I am seeing some incorrect indications from the usb stack (XP SP2) when my
device indicates a Polling Interval of 2 on its isochronous endpoint:
My hardware has a high speed (not high bandwidth) iso In endpoint; it
generates fixed size 1000-byte packets at an interval very slightly over
250uS.
I have taken the isousb sample from the 3790 DDK, and adapted it to work
with my configuration.
Because of the data rate, it seemed sensible to increase the polling
interval on that endpoint so as to only poll every other microframe, so I
set a value of two.
I use the test app (rwiso) to read an amount of data from the device, and
the driver output is as follows:
IsoPacket[0].Length = 0x03E8 IsoPacket[0].Status = 0
IsoPacket[1].Length = 0x0000 IsoPacket[1].Status = 0
IsoPacket[2].Length = 0x03E8 IsoPacket[2].Status = 0
IsoPacket[3].Length = 0x0000 IsoPacket[3].Status = 0
IsoPacket[4].Length = 0x03E8 IsoPacket[4].Status = 0
IsoPacket[5].Length = 0x0000 IsoPacket[5].Status = 0
IsoPacket[6].Length = 0x03E8 IsoPacket[6].Status = 0
IsoPacket[7].Length = 0x0000 IsoPacket[7].Status = 0
IsoPacket[8].Length = 0x03E8 IsoPacket[8].Status = 0
IsoPacket[9].Length = 0x0000 IsoPacket[9].Status = 0
IsoPacket[10].Length = 0x03E8 IsoPacket[10].Status = 0
IsoPacket[11].Length = 0x0000 IsoPacket[11].Status = 0
IsoPacket[12].Length = 0x03E8 IsoPacket[12].Status = 0
IsoPacket[13].Length = 0x0000 IsoPacket[13].Status = 0
IsoPacket[14].Length = 0x03E8 IsoPacket[14].Status = 0
IsoPacket[15].Length = 0x0000 IsoPacket[15].Status = 0
IsoPacket[16].Length = 0x03E8 IsoPacket[16].Status = 0
IsoPacket[17].Length = 0x0000 IsoPacket[17].Status = 0
IsoPacket[18].Length = 0x03E8 IsoPacket[18].Status = 0
IsoPacket[19].Length = 0x0000 IsoPacket[19].Status = 0
IsoPacket[20].Length = 0x03E8 IsoPacket[20].Status = 0
IsoPacket[21].Length = 0x0000 IsoPacket[21].Status = 0
IsoPacket[22].Length = 0x03E8 IsoPacket[22].Status = 0
IsoPacket[23].Length = 0x0000 IsoPacket[23].Status = 0
So this suggests that every other packet is coming back zero-length.
However, when I look at the entire buffer from the user-space app there are
no gaps - every piece of data *is* there (and correct) from beginning to
end - all 24 packets. The return value from the read() call is 12*1000 yet
the whole buffer has in fact been written.
I've also used SnoopyPro to examine what the stack thinks the packets
contain, and diagrammatically (and very much simplified), this is what I'm
seeing (with "." indicating a zero-length packet):
According to stack Actually in buffer
0 1 2 3 0 1 2 3
. 4 5 6 7
8 9 A B 8 9 A B
. C D E F
0 1 2 3 0 1 2 3
etc
This is a problem to me because I will occasionally get genuine zero-length
packets (due to the data generation being asynchronous to the usb frames),
and I need to be able to detect them.
The USBD_SHORT_TRANSFER_OK flag is not set.
This only happens when the Polling Interval is 2; when it is set to 1 then
the behaviour is as expected (albeit interspersed with genuine zero-length
packets, generated by the h/w when it is polled but has no data available)
I'm running a free build XP SP2, but with checked versions of ntoskrnl, hal,
usbport.sys, usbccgp.sys and usbd.sys (also from an SP2 version).
Is it a bug in the usb stack?
There is a report of this kind of problem -
http://support.microsoft.com/?kbid=837371 - but although it is dated only a
few days ago, it seems to be saying that the issue is fixed in SP2; and I
have newer versions of all the files indicated (though why don't I have
usbccgp.sys - isn't that needed for composite devices??)
[I'm having trouble with my Win2K installation at the moment, so I've not
had a chance to compare].
In fact, as I repeat the test today to check my results (before hitting
"Send"), I'm *also* now seeing an additional effect: a packet with a length
of 1000, but contents all zero - but, again, without any loss of data -
where there *is* data in the buffer it is continous and valid (the data
stream contains a count to help spot discontinuities).
What with the results I was seeing yesterday plus this additional weirdness
I'm now seeing, I'm wondering if there are still issues with non-one values
of polling interval?
Anyone got any thoughts? Can anyone at MS confirm whether 837371 really is
fixed?
Thanks. Tag: Thread Safe Tag: 70727
Windows Xp and interrupts.
I'm writing a driver for programming performance counters in PIV
processor. I've wrote bus driver which enumerates devices and allocates
resources and function driver which will do main job. I'm having a
problem with allocating resources for functional driver. Currently my
IRP_MN_QUERY_RESOURCES handling function looks like this:
static NTSTATUS HandleQueryResources(PDEVICE_OBJECT pdo, PIRP Irp)
{
NTSTATUS status = Irp->IoStatus.Status;
PIO_STACK_LOCATION stack = IoGetCurrentIrpStackLocation(Irp);
KdPrint((DRIVERNAME " (PDO) - HandleQueryRequirements\n"));
PCM_RESOURCE_LIST resourceList;
PCM_FULL_RESOURCE_DESCRIPTOR frd;
PCM_PARTIAL_RESOURCE_DESCRIPTOR prd;
ULONG resourceListSize;
//
// Following code shows how to provide
// boot I/O port resource to a device.
//
resourceListSize = sizeof(CM_RESOURCE_LIST);
resourceList = (PCM_RESOURCE_LIST)ExAllocatePoolWithTag (PagedPool,
resourceListSize, APICBUS_POOL_TAG);
if (resourceList == NULL )
{
KdPrint((DRIVERNAME " (PDO) - HandleQueryRequirements:
STATUS_INSUFFICIENT_RESOURCES\n"));
return STATUS_INSUFFICIENT_RESOURCES;
}
RtlZeroMemory( resourceList, resourceListSize );
resourceList->Count = 1;
frd = &resourceList->List[0];
frd->PartialResourceList.Count = 1;
//
// Get pointer to first Partial Resource
// Descriptor in this FRD.
//
prd = &frd->PartialResourceList.PartialDescriptors[0];
prd->Type = CmResourceTypeInterrupt;
prd->ShareDisposition = CmResourceShareShared;
prd->Flags = CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE;
prd->u.Interrupt.Level = 3;
prd->u.Interrupt.Vector = 64;
prd->u.Interrupt.Affinity = -1;
Irp->IoStatus.Information = (ULONG_PTR)resourceList;
KdPrint((DRIVERNAME " (PDO) - HandleQueryRequirements:
STATUS_SUCCESS\n"));
return STATUS_SUCCESS;
}
But IRP_MN_START device in my function driver doesn't get any
resources(either translated or raw). Can anybody explain me
haw handle this IRP correctly?
And please anybody explain to newbie meaning of Interrupt.Level,
Interrupt.Vector fields?
How should I implement IRP_MN_QUERY_RESOURCE_REQUIREMENTS handling function?
Best
Darek Tag: Thread Safe Tag: 70724
MSVAD Install
Hi,
When I install MSVAD driver, I need reboot machine to active MSVAD driver.
Why should PC reboot after MSVAD Installed? Can I do not reboot to active
MSVAD driver?
Thanks. Tag: Thread Safe Tag: 70723
Converting Win2k monolithic printer driver to a Longhorn driver - Installation problems
Converting Win2k monolithic printer driver to Longhorn driver - INSTALLATION
Problems..
The current monolithic(not using Microsoft Universal Printer Driver Model)
Windows printer driver has been converted to "user-mode" and installs/runs
fine on Win2k, WinXP, and WinServer2003. However, for "Longhorn Beta1" the
following error message is given during an attempt to install the driver:
Error Message:
"The driver that you are trying to install is not compatible with Windows
Server 2003 family. Please contact the manufacturer for an updated
version."
It appears (according to the following windows log files: setupapi.app.log,
setupapi.dev.log) that the installation (via the Add Printer Wizard)
successfully copies the driver files to a system location, but immediately
after that point, the error occurs and the installation is cancelled.
I suspect that when the "loader" attempts to load a driver DLL (toward end
of installation), it cannot resolve a reference in the DLL to some Win API
function (NOT IN Longhorn), and therefore the DLL is not loaded. Normally,
one would get some kind of error message that indicates a particular
function could not be found/resolved; but this may not be the case while
using the "Add Printer Wizard". I placed calls to "MessageBox(-)" at
several "entry-point" functions in the DLLs (like DllMain, DLLInitialize,
WinMain, DrvQueryDriverInfo, etc.) but these are NOT reached during
installation on "Longhorn"; however, they are reached during installation on
the other OS's.
Any Ideas?
Rudy Tag: Thread Safe Tag: 70716
USB Problem when using a Philips ISP1521 based hub
We are using a TI TUSB3410 USB to Serial chip and recently identified an
issue when using this device with a Philips based ISP1521 based Hub. On the
USB-IF Developers Discussion Forum a post was made that matches our problem
exactly. This post also has a statement that Philips apparently made which
states the issue is that the Windows USB host controller driver. Basically
Philips states that the host controller driver is not terminating Start Split
transactions with a Complete Split transaction. For the original posting see
http://www.usb.org/phpbb/viewtopic.php?t=6636&highlight=tusb3410&sid=92ad332153ccee7ed3babd646910e98d.
We have been told by TI that Microsoft acknowledges that this is a bug and
that it will be fixed in Vista. However in the meantime our customers are
experiencing problems when using our hardware with ISP1521 based hubs. My
question is, how can we work around this issue? Is there something we can do
in our application or in the driver to cause the host controller driver to
terminate the split transaction?
Thanks in advance for any help in resolving this issue.
- Steve - Tag: Thread Safe Tag: 70696
port monitor UI
Hello,
I have been trying to find an answer in the newsgroups and MSDN Library for
this without success.
How does one go about installing a port monitor UI? It's difficult to tell
from the library docs whether this can be done either programmtically or
through an INF file. Is it at all different from installing a port monitor
server DLL?
--
Matt Kane
m k b a t d i r t y d o t o r g Tag: Thread Safe Tag: 70695
Installation Issues sample IsoUsb from the DDK
As I described before, I want to develop a USB Driver based on the
sample on the DDK.
I have compiled a driver from that in the 2k3 Server Environment
without any error messages and adapted the INF file for the fitting
PID&VID of the device. Now I want to check the general communication
via the RWISO.exe tool, belonging to that sources.
First failure is, that the driver under 2k can be installed not until
ONE "INF contains no information on my hardware" failure occurs. I have
the paragraph out of the setupapi.log here. It says:
@ 11:26:53.424 : Die INF-Datei
c:\usb\sys\objchk_wnet_x86\i386\boschusb.inf konnte nicht geladen
werden.
Hardwarekennungen werden gesucht:
usb\vid_0452&pid_0100&rev_0001,usb\vid_0452&pid_0100
Kompatible Kennungen werden gesucht:
usb\class_ff&subclass_ff&prot_ff,usb\class_ff&subclass_ff,usb\class_ff
Die Dateien c:\usb\sys\objchk_wnet_x86\i386\*.inf werden aufgef=FChrt.
@ 11:26:53.424 : Ge=F6ffnete INF-Datei
"c:\usb\sys\objchk_wnet_x86\i386\boschusb.inf".
@ 11:26:53.424 : Die Datei c:\usb\sys\objchk_wnet_x86\i386\boschusb.inf
wird unter Verwendung des Schl=FCssels boschusb.inf im Katalog -
=FCberpr=FCft.
@ 11:26:53.987 : Die Datei wird =FCberpr=FCft, die mit folgendem Fehler
fehlgeschlagen ist: Fehler 0x800b0003: Das f=FCr den Antragsteller
angegebene Formular wird vom angegebenen Vertrauensanbieter nicht
unterst=FCtzt oder ist ihm nicht bekannt.
@ 11:26:53.987 : Die Datei (c:\usb\sys\objchk_wnet_x86\i386\isousb.inf)
ist nicht digital signiert. Das Treiberdatum wird ignoriert.
@ 11:26:53.987 : USB\VID_0452&PID_0100 in
c:\usb\sys\objchk_wnet_x86\i386\boschusb.inf gefunden; Ger=E4t: I82930
Controller; Treiber: Intel I82930 Controller; Anbieter: Intel;
Hersteller: Microsoft; Abschnitt: ISOUSB.Dev
@ 11:26:53.987 : Abschnittsname: ISOUSB.Dev
@ 11:26:58.753 : Ger=E4tinstallationsfunktion: DIF_SELECTDEVICE.
@ 11:26:58.753 : Klasseninstallationsprogramm abgeschlossen.
Die Dateien c:\usb\sys\objchk_wnet_x86\i386\*.inf werden aufgef=FChrt.
@ 11:26:58.753 : Ge=F6ffnete INF-Datei
"c:\usb\sys\objchk_wnet_x86\i386\boschusb.inf".
@ 11:26:58.753 : Die Datei c:\usb\sys\objchk_wnet_x86\i386\isousb.inf
wird unter Verwendung des Schl=FCssels isousb.inf im Katalog -
=FCberpr=FCft.
@ 11:26:58.753 : Die Datei wird =FCberpr=FCft, die mit folgendem Fehler
fehlgeschlagen ist: Fehler 0x800b0003: Das f=FCr den Antragsteller
angegebene Formular wird vom angegebenen Vertrauensanbieter nicht
unterst=FCtzt oder ist ihm nicht bekannt.
(Sorry for German log)
The identification of the device was correct, the driver was chosen,
but it says the inf-file could not be loaded. (Again, only the first
time, I choose this inf-file. The second time it works except the copy
of the inf file in %WINNT%\inf)
I also analyzed newsgroup postings corresponding the error codes
0x800b0003. I'm not sure if the
standard-"server=3Dside"/"client=3Dside"-reply fits to my case. Appreciate
your help! Tag: Thread Safe Tag: 70692
Several problems building the DDK USB-Drivers Examples under W2k BE
Hello folks,
I beg you to forgive my very little skills in developing drivers. So
I'll report my problems right from the start and how I tried to solve
'em.
I'm about to develop a USB-driver that implements Bulk-, Interrupt-,
Isochronous Transfers. Getting things started, I intended to build the
isochronous USB-Drivers from the latest DDKs (3790 & 3790.1830) and
communicate with the self-developed device. I'm working on a x86, W2K
plattform and because of upward-compatibility on a x86 XP.
On both platforms I got the warning, that the existing sample would not
be valid for the current OS target. I changed the makefile in looking
after a platform >= 0x500, i.e. Win 2k. But problems went on.
While the Windows Server 2003 BE builded the driver reliably, the Win2k
BE brings up an error C1083: Cannot open include file 'usbbusif.h'.
BUILD: Compile errors: not linking c:\usb\sys directory. I looked after
the .h file and it appears in %WINDDK%\3790\inc\ddk\wdm\wnet and
...\wxp but not in the adequate w2k-dir.
I copied the missing file(s) in ...\w2k but in the aftermath over 700,
mostly syntactic errors occured while compiling. The syntax is correct.
This sounds clear to me 'cos WNET-Build works fine.
I restored the original dirs of the inc\ddk\wdm... I followed some tips
in the newsgroup. Although I have no spaces in between dir- or
file-names the error still occurs. I have no errors in compiling the
test-programs to the usb-drivers of the ddk.
I've consulted the DDK-docs, the newsgroups and Walter Oney's
'Programming the WDM 2nd ed.', but none could take me on the fast lane.
Now YOU are my only help and I appreciate that very much.
BW Tag: Thread Safe Tag: 70687
Does IPMI driver support BT interface
Hello,
Our BMC provides both BT & KCS interfaces to the host. I have following
questions in regards to Windows IPMI driver:
1. Does it support BT interface? I only see reference to KCS interface
support in the documentation.
2. If it does support BT interface, can an application specify an interface
(whether KCS or BT) for sending a command to BMC?
3. Can IPMI driver accept simultaneous commands from multiple callers and
internally serialize these commands & responses?Does driver allow an
application to register to receive IPMI commands from BMC and get event
notification once such a command arrives from BMC? (Opposite of normal
behavior, apps/Host send the IPMI commands to BMC). Linux OpenIPMI driver
allows doing so.
I will sincerely appreciate any help on these questions. Best regards,
-Sanjeev Tag: Thread Safe Tag: 70686
Question for Microsoft
Hi,
I got a email from "epp at microsoft.com", I got some steps to register
myself.
But when I get to the second page, I get, enter the pin provided by your
sponsor,
I know of any such pin or a sponsor. The end of email says "don't reply to
this to this email
as it is not monitored".
So I am wondering if it is a spam email. Has anyone here got any such email?
Thanks
Vipin Tag: Thread Safe Tag: 70681
how to use selective suspend in BDA driver
I am write a BDA driver for (DVBT) USB device and want to support slective
suspend. I reference sample code of bulkusb in DDK and add
"SubmitIdleRequestIrp" to my driver. but it can not have any respond to my
driver(IdleNotificationCallback and IdleNotificationRequestComplete no
response).
Is the device object set wrrong or something ??
thank!! Tag: Thread Safe Tag: 70678
printf(), _tprintf(),don't output to console
Hi all,
I am having a weird problem. None of my programs display any printf
messages. Programs runs fine and exits normally, but I don't see any output
messages. But in windbg, I can see that the printf statements getting
executed.
Is there anything obvious I am missing ? Appreciate your help. Am I linking
to some wrong libs or missing some device mapping or something ?
thanks
Code sample :
int __cdecl wmain(int argc, WCHAR* argv[])
{
HRESULT hr=S_OK;
WCHAR ch;
enum NetClass nc=NC_Unknown;
// use simple cmd line parsing to get parameters for actions
// we want to perform. the order of parameters supplied is significant.
static const WCHAR c_szValidOptions[] =
L"hH?c:C:l:L:i:I:u:U:vVp:P:s:S:b:B:q:Q:";
WCHAR szFileFullPath[MAX_PATH+1];
PWSTR szFileComponent;
_tprintf(L"in wmain\n");
fflush(stdout);
Running : ( I don't see "In wmain" msg)
H:\CTO\windows\AOS_VPN\kernel\source\i386-windows-shim\ndis\installer\win2k\netcfg\objchk_w2k_x86\i386>.\snetcfg.exe
H:\CTO\windows\AOS_VPN\kernel\source\i386-windowsshim\ndis\installer\win2k\netcfg\objchk_w2k_x86\i386> Tag: Thread Safe Tag: 70662
Debugging off the shelf device?
How can I debug an NDIS Protocol Driver on an off the shelf Pocket PC
running wince 4.2??? can I use Kernel Debugger to actually achieve this in a
same way that windbg is used? do I need TUX at the same time with Kernel
Debugger? where can I read about it? Most of documentation are about
debugging a custom image not an actual third-party device remotely connected
to PC!!!
would appreciate your feedback. Tag: Thread Safe Tag: 70660
DCOM from PortMonitor?
Hi
When I try to use a DCOM-object in my port monitor, I always get
"E_ACCESSDENIED" ... so, since I'm using a different username to do this
call, it can't be, that the access is really denied... it has to do with the
fact, that it's a port monitor that's trying to access this component... can
someone explain me, why this happens??
thanks
MR Tag: Thread Safe Tag: 70659
HCT pcitest failure
What does: "FAIL: 4.50.2 - Invalid Header Type for this device" mean.
Also listed is
d:\hct\source\base\testsrc\ntbaseedt\pci\pcitest\exe\nosnoop.c, 75.
Earlier, "ERROR: Unrecognized header type 255" is listed. Tag: Thread Safe Tag: 70658
MmGetSystemAddressForMdl(Irp->MdlAddress)
Hi,
I'm having a problem with a 1394 driver and getting access to the needed
memory.
It is the call "MmGetSystemAddressForMdl(Irp->MdlAddress)" that fails.
It seems that there is a limitation around 65-67mb.
The following setup fails :
total packages = 16578
bandwith = 4096
buffers = 15
I guess that the system either won't allow me to allocate that amount of
memory, or there isn't enough memory left.
Any ideas about what could be wrong ??
Thank you in advance.
BR
Peter Tag: Thread Safe Tag: 70646
Suspend / Hibernate for PCMCIA device
Hi all,
I am writing driver for 16-bit PC-Card (PCMCIA) device for Windows XP, and
currently facing an issue with Hibernate and suspend.
When the machine gets Suspend/Hibernate state, the PCMCIA bus turns off our
deviceâ??s power. If I set an error code for IRP_MN_QUERY_POWER, then the OS
does not get into both states. (Pop up the dialog which informs our driver
rejects the mode).
I would like to get the OS to Suspend/Hibernate state and start using
hardware when the machine wakes up.
Does anyone know the way to keep PCMCIA deviceâ??s power during both modes?
Our device is Multi-function PCMCIA device, so the base address should be
re-written to the hardware once it turned on,
PS:
The returned value of QUERY_CAPABILIES from PCMCIA driver says that
PowerStateSpleeping1-3, and PowerStateHibernate are mapped to PowerDeviceD3.
Thanks in advance. Tag: Thread Safe Tag: 70636
NDIS IM and hidden proxy
Hello, All!
I my NDIS IM driver I am trying to redirect all TCP traffic to localhost.
To do so, I am changing packet payload (TCP and IP headers).
Of cause, I update checksum of IP and TCP packets.
Seems like packets do not go throgh.
Is there anything else I forgot to do?
Do I need to use different miniport handle when sending packets? Currently I
am using the same one packed arrived to. How can I get localhost miniport
handle?...
I tried to redirect packets to both 127.0.0.1 and IP address of my NIC... No
luck.
Any thoughts would be appreciated.
With best regards,
serge Tag: Thread Safe Tag: 70634
Creating an installer for a mirror driver
Hi,
I'm fairly new to driver development, so apologies if this is rather basic,
or has been asked and answered many times before.
I have a mirror driver that I want to create an installer for. I tried using
DPInst, but it didn't add the driver to the Device Manager's list, so I
would still have to use the "Add Hardware" wizard.
Is it possible to create an installer for a mirror driver that will
eliminate the need to use the "Add Hardware" wizard, and if so, could
someone please point me in the right direction for how to do it? Everything
I've found so far relates to drivers for new hardware, so doesn't seem like
it will work for a mirror driver.
Many thanks,
Frances Tag: Thread Safe Tag: 70633
Best Expired domain finder
Find expired domains with the best software:
http://www.antssoft.com
The best domain names are already taken. But with expired domain software you can find the best domain names like:
--------------------------------
http://www.beyx.com
http://www.c6d.de
http://www.fyq.us
http://www.gv0.net
http://www.j1o.de
http://www.aj0.net
http://www.3tt.de
http://www.3ss.de
http://www.aryh.com
http://www.qym.us
http://www.f6x.de
http://www.60n.de
http://www.7ix.de
http://www.k9m.de
http://www.4bx.de
http://www.9kk.de
http://www.bx0.net
http://www.0ol.de
http://www.w6x.de
http://www.xub.us
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =--- Tag: Thread Safe Tag: 70630
Re: Page Replacement Policy on windows XP? - invalidate TLB on MP
thanks for your answer.
the article had the answer I wantted..
However there is questionable sentence.
the writer said, when the PTE is changed on muti-processor, the TLB on every
CPU is invalidated.
Is the TLB invalidated by Windows using instruction such as invlpg, or by
CPUs automatically? anyone knows ..
"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:eHQbHBcyFHA.3856@tk2msftngp13.phx.gbl...
> http://www.windowsitpro.com/Article/ArticleID/3774/3774.html?Ad=1
>
> --
> --
> -Eliyas
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> http://www.microsoft.com/whdc/driver/default.mspx
> http://www.microsoft.com/whdc/driver/kernel/KB-drv.mspx
>
>
>
> "Andy" <human@ahnlab.com> wrote in message
> news:uNWuxhVyFHA.2064@TK2MSFTNGP09.phx.gbl...
> > Hi all.
> >
> > does anyone know what kind of algorithm for page replacement policy the
> > windows XP do ?
> > such as LRU(additional reference bits, second chance) or FIFO..
> > I just know that kind of algoritm for plage replacement policy in OS.
> > However, I don't know which algorithm the windows XP use.
> > Please let me know anyone knows
> >
> >
> >
>
> Tag: Thread Safe Tag: 70623
Bitmap printer driver.
Hello all,
I know that was a very used subject, but please... one more time.
I read all about bitmap printer driver. But I am experiencing some
errors...
Please could somebody tell me how should be implemented the
FilterGraphics function ? I would like if somebody is so kind to put
here some code exactly...
Thank you very much,
Radu Cosoveanu Tag: Thread Safe Tag: 70618
Bitmap printer driver.
Hello all,
I know that was a very used subject, but please... one more time.
I read all about bitmap printer driver. But I am experiencing some
errors...
Please could somebody tell me how should be implemented the
FilterGraphics function ? I would like if somebody is so kind to put
here some code exactly...
Thank you very much,
Radu Cosoveanu Tag: Thread Safe Tag: 70617
Can't set device interface registry data under W2K...
Hi,
I have a driver which uses IoOpenDeviceInterfaceRegistryKey() to open a
device interface registry key and then uses ZwSetKeyValue() to write values
to that key.
The driver was originally written for and runs fine under XP. But under W2K,
calls to ZwSetKeyValue() fail with 0xC0000008 (STATUS_INVALID_HANDLE) even
though the IoOpenDeviceInterfaceRegistryKey() that preceeds it returns
STATUS_SUCCESS.
Any ideas?
Ade. Tag: Thread Safe Tag: 70609
custom keyboard driver
I'm porting a software package from Win98 to WinXP embedded.
The software runs only on special (custombuild) PC-Hardware.
My problem is now that I have a special keyboard (connected to a custom
parallel)where I have to read the scan and return lines cyclic and generate
the keyboard input for windows.
With Win98 I did this by programming the RTC to generate interrupts ~every
4ms on IRQ 8, virtualized in VPICD and unmasked it in the VPICD.
In WinXP I didn't find a why to install my own ISR for IRQ 8! Is it possible
to do so??
Or do I have to build a cyclic timer (KeSetTimer and so on).
Does anyone knows a good code sample for polling every 5ms some hardware
ports?
bcp Tag: Thread Safe Tag: 70607
Mapping of LCN to LBA
Hi all,
For a particular file , I am able to get the Logical Cluster
number (LCN) on a particular volume .....I want Logical Block
Address(LBA) corresponding to these LCN
Do anybody of u have any idea how to get this information? Tag: Thread Safe Tag: 70605
Is the NdisAllocatePacket and NdisAllocateBuffer function thread safe?