Layered Service Provider on Pocket PC
Has anybody been able to get the sample LSP that comes with platform builder
to work on Pocket PC? I could use some hints if anybody has succeeded. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47563
How to get value from this register...
Hi guys,
I have trouble in understanding how to ge the value of the following
register:
Here is the pdf doc:
http://www.winbond.com/e-winbondhtm/partner/PDFresult.asp?Pname=182
On page 27 there is the structure of the registers.
I'd like to get the value from Bank1 (reading temperature) for example.
I guess one needs to use the index register 295h to activate read from
Bank1 through 296h.
It's not really clear what I need to write to 295h to be able to get
value of Bank1 through 296h.
Can anyone enlighten me?
My Professor at school wasn't sure either, he just raised his armpits :-)
I'd really appriciate any answer.
I'm currently trying to elevate the knowledge I gained at
microcontroller programming classes to PC hardware ;-)
Thanks, Richard Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47562
Question about modifing the NDIS packet?
Hi everyone,
I am trying to modify the NDIS packet. Do i need to allocate new buffers?
I want to modify the destination IP address. I am doing the address mapping,
if i receive data for specific destination, i want to redirect that data to
go to another IP address. Do i need to allocate new buffers, copy all the
data from old packet, modify it and then send it again. Can i do the
following?
1. Query the NDIS packet.
2. Get the Virtual Address.
3. Modify the Header, with new IP and checksum.
4. Allocate new packet from my own pool.
5. Copy all the header information and OOB data.
6. Send that packet again.
Can i use the same buffer and packet. Or i will have to allocate new buffer
and packet if i am modifing the data in the packet.
Thanks in Advance
Rajesh Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47561
Adding a Driver that's a part of 2000/XP
Good day,
I'm trying to automate the installation of a custom print monitor that
will just use the "Generic / Text Only" driver that is included by
default with Windows and then bind my custom port monitor to that.
I've done enough research to figure out that I could do something
like
AddPort
AddMonitor
AddPrinterDriverEx
AddPrinter
and it seems it will work as long as the right files are copied in
place prior to the install and I perform the correct enumerations to
watch out for duplicates first.
My problem is at the AddPrinterDriverEx step:
Since the driver I want to use is a part of the default windows 2000
and XP install, how can I trigger the functionality that would look in
the drivers.cab and pull out the correct driver if it's not already
installed? Is there an API to access this?
Thanks,
Chris
--
Chris Green <cmg@dok.org>
Chicken's thinkin' Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47559
DefineDosDevice seems never works in C#
I am using Win2000, I imported DefineDosDevice
[DllImport("kernel32.dll", SetLastError=true)]
static extern int DefineDosDevice( int dwFlags, string lpDeviceName, string
lpTargetPath) ;
and call that method using
DefineDosDevice(1, "T" , @"\Device\FileDisk\FileDisk1");
All the targetpath returns 1, I tried @"\123123Device\FileDisk\FileDisk1",
and Marshal.GetLastWin32Error() always return 0.
that method seems like a dummy method, what happens?
Thanks in advance. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47557
AttachedDevice vs. AttachedToDeviceObject
In the sfilter sample of the IFS there is an element of the device extension that the filter creates called AttachedToDeviceObject. Inside the DeviceObject structure there is a guy call AttachedDevice. Both are PDEVICE_OBJECT.
Now why does the sfilter sample need AttachedToDeviceObject if the other already has been defined? Clearly there is a difference because I'm running into a situation where I rely on AttachedToDeviceObject to call to IoCreateFileSpecifyDeviceObjectHint , and therefore avoid getting called back on my own call.
But I find that after I make this call , which appears to return successfully, I cannot use IoCreateFile without things breaking up. In the case where they do break up , I find that AttachedDevice element of the DeviceObject in question is 0, yet the AttachedToDeviceObject appears valid.
What exactly are the semantics of these elements?
Any thoughts?
--
Gak -
Finecats Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47554
Version section of INF: Class
What should be the class of the device that doesnot fall into defined
classes.
I gave some name and the chkinf gives error.
Line 6: (E22.1.1310) Class 1394TestDevice (ClassGUID
{737613E5-69EA-4b96-9C2A-EEBC220F4C39}) is unrecognized.
How can I indicate non-standard class. Should I not specify the class
or simply ignore the error?
Thanks. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47553
Performance on network driver
Hi,
I just finished developing a NDIS IM driver and now I want to start testing my performance, but I can't figure out how to do this. Is there any software I can use to monitor e.g. memory or cpu usage of my driver? Is there any professional profiling software?
Thanks a lot
Peter Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47550
Performance on network driver
Hi,
I just finished developing a NDIS IM driver and now I want to start testing my performance, but I can't figure out how to do this. Is there any software I can use to monitor e.g. memory or cpu usage of my driver? Is there any professional profiling software?
Thanks a lot
Peter Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47549
IDE interrupt wih windows 2000 SP4
We have an IDE cdrom that has the IDE interrupt disabled by default. It seems that Windows 2000 prior to Service Pack never enables the IDE interrupt by writting to the Device Control Register but yet the drivers are interrupt driven.
It seem Microsoft has recognized this problem and fixed it in SP4 since SP4 does enable the interrupt before doing enything else. Does anyone know how I can make the IDE drivers prior to SP4 to not use the interrupt or make them enable the device interrupt so my IDE cdrom device can work with windows 2000 SP3 or earlier. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47541
IDE interrupt wih windows 2000 SP4
We have an IDE cdrom that has the IDE interrupt disabled by default. It seems that Windows 2000 prior to Service Pack never enables the IDE interrupt by writting to the Device Control Register but yet the drivers are interrupt driven.
It seem Microsoft has recognized this problem and fixed it in SP4 since SP4 does enable the interrupt before doing enything else. Does anyone know how I can make the IDE drivers prior to SP4 to not use the interrupt or make them enable the device interrupt so my IDE cdrom device can work with windows 2000 SP3 or earlier. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47540
IDE interrupt wih windows 2000 SP4
We have an IDE cdrom that has the IDE interrupt disabled by default. It seems that Windows 2000 prior to Service Pack never enables the IDE interrupt by writting to the Device Control Register but yet the drivers are interrupt driven.
It seem Microsoft has recognized this problem and fixed it in SP4 since SP4 does enable the interrupt before doing enything else. Does anyone know how I can make the IDE drivers prior to SP4 to not use the interrupt or make them enable the device interrupt so my IDE cdrom device can work with windows 2000 SP3 or earlier. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47539
Ne2000-compatible driver
Hi,
I am developing BSP for MIPS based platform. I need to enable CETK which in
turn demands a fully functional Ethernet port. For this purpose I need to
bring up my on-board Ethernet port which is neither PCI based nor ISA based.
It is mapped through IO controller.
I added Ne2000-compatible driver from drivers->Networking->LAN devices from
Catalog and set the environment variable 'BSP_ICS' in my platform settings.
Since the registry entries corresponding to this driver have been added in
platform.reg, I expected the driver to be loaded at boot-up. But I am not
able to see any debug string on console which were given in
Ne2000Initialize() function of the driver nor am I able to see the
corresponding dll loaded among system modules loaded.
There are couple of doubts I have:
1.. Is there something else to be done which I am missing? Some registry
entries or environment variables?
2.. Since this Ne2000-compatible is PCI based and my Ethernet port is not
a PCI-based one, is it that it does not load the driver at all because of
this reason? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47532
What driver should I open in user level to send IOCTL to the SCSI mini port ?
Hi
I'd like to identify the SCSI HDD's that are attached to my Adaptec RAID
controller. Maybe using IOCTL_SCSI_PASS_THROUGH to the driver I could do
that.
Thank you
--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47523
Pblm in Cstring
I am building an application using win2003 ddk build utility. I do get linker errors such as :
unresolved external symbol "public: void __thiscall CStringArray::SetSize(int,int)"
This is because in my application i use CString objects. What are the libs to be linked to resolve this problem?
thanks
Jim Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47510
How to reserve an entrie in pnp table of BIOS
Hi,
which organisation manages the pnp table. I need to preserve a PNP number in PNP table for my type of system device.(PNP0104)
As far as I discovered, PNP table is a subset of EISA table established on request of Microsoft and will be managed by Microsoft.
Is this the right thinking and if to whom I can address my request of reserving such a PNP number? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47508
A few questions about KS proxy
Question 1: Since I need to use CUnknown, I have to include streams.h. But once I complie the program, the following error message shows:
Cannot open include file: 'reftime.h': No such file or directory
I checked my computer for the existence of reftime.h, and I can't find this header file. What goes wrong?
Question 2: There are some libraries such as StrmBasD.lib or StrmBase.lib which are needed in some programes, however, I also can't find them. What goes wrong?
Question 3: Can anyone give me some examples introducing KS proxy?
Thank you Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47505
lnk4210 warning when building device driver
When I'm trying to build my driver, I have lnk4210 warning (driverentry.obj
: warning LNK4210: .CRT section exists; there may be unhandled static
initializers or terminators). Description of this error tells my nothing.
What can I do to corect my source code ? What casuss this worning ?
After described worning I have error: LINK : error LNK1218: warning treated
as error; no output file generated Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47502
linear memory
Hi
In wdm driver.
I use MmAllocateNonCacheMemory() function. (allocate size=4096k)
It will return a virtual address pointer.
Is it also linear address?
Is the linear memory space(block) continuous??
Thanks...
Alex Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47501
a device object's type
what is the purpose of the DeviceType member in DEVICE_OBJECT ?
who uses this value ? why should I be interested in that member when I can also get the device type from the Class that is setup for it's driver in the registry ? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47495
Out of order packets from NDIS IM
Hi All,
DDK says:
MiniportSendPackets receives an array of packet descriptors arranged
in an order determined by the caller of NdisSendPackets. In __most
cases__, the intermediate driver should maintain this ordering as it
passes an incoming array of packets on to the underlying miniport
driver. An intermediate driver that modifies per-packet information or
OOB data in incoming packets before passing them on to the underlying
driver might reorder an incoming array.
Now what is this "most cases". Is it the case when "intermediate
driver that modifies per-packet information or OOB data in incoming
packets", or any IM driver (i.e. one not modifying the packets) ?
In IM driver, in MiniportSendPackets routine I am cloning the packets
(only TCP/UDP packets) and sending them after some processing. I may
have to send the packets out of order due to the processing needs.
Will everything work fine ? (I was thinking it must work fine, since
IP (on which TCP/UDP rides) is capable of receiving packets out of
order.)
Any comments will be appreciated.
TIA
Abhijit Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47492
finding the parent of a device
When I want to know who are the children of a device I can send an IRP_MN_QUERY_DEVICE_RELATIONS request to it with "type = BusRelations", but how to I make the reversed operation ?
Let's say I have a printer DO, how can I know if it is connected to a parallel port or to a USB hub ? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47489
Problem using EngSetPrinterData in user-mode
Dears,
I'm building cosumized dll using unidrv model (oemdll
example).
I used SetPrinterData and GetPrinterData in the UI dll it
worked fine, GetPrinterData also worked fine in the
customizaion dll of the graphics engine.
I'm faceing a problem I tried to use SetPrinterData, or
EngSetPrinterData, both return code 5, i guess this means
access violation.
the code is:
dwResult = SetPrinterData(pdev->hPrinter,
STDSTR_FONTDATASIZE,
REG_DWORD,
(PBYTE) &FontSize,
sizeof(DWORD));
where FontSize is a DWORD and STDSTR_FONTDATASIZE is
defined as follows:
#define STDSTR_FONTDATASIZE TEXT("FontDataSize")
hPrinter is stored when the driver received the EnablePDEV
call, and it worked in GetPrinterData.
Please if any body knows what is going around please
advise.
Best regards,
-Amer Malas. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47488
usbser.sys
Hi,
Where can I find the source code for usbser.sys?
I'm trying to write a driver for a CDMA handset CDC compliant USB
device.It is to develop a virtual serial port driver. The read write
operation fails if I use usbbulk.sys (from DDK).What is the purpose of
usbser.sys? Can I use it here?
How do I proceed with writing drivers for Virtual serial port ?
Thanks in advance
Priya Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47487
how to develop a firewall to monitor process and protocol Driver
I mean this:
1. protect process just need tdi filter , tcpip.sys ......
2. how to monitor all protocol driver in the machine??? how sygate
firewall to do it ??
hook registerprotocol ??
3 .if a trojan is a NDIS Intermediate Driver , how to block it and
monitor it ??
ok .thanks a lot
horace Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47486
how to develop a firewall to monitor process and protocol Driver
how to develop a firewall to monitor process and protocol Driver and NDIS Intermediate Drivers???
I mean this:
1. protect process just need tdi filter , tcpip.sys ......
2. how to monitor all protocol driver in the machine??? how sygate
firewall to do it ??
hook registerprotocol ??
3 .if a trojan is a NDIS Intermediate Driver , how to block it and
monitor it ??
ok .thanks a lot
horace Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47485
WHQL Test: about the Siemens Nixdorf Card
================================
Part D: Smart Card Provider Test
================================
Insert any of the following PC/SC Compliance Test Cards:
* Bull
* G & D
* IBM
* SCHLUMBERGER
* SIEMENS NIXDORF
>> Please insert smart card
Testing card SIEMENS NIXDORF
Test No. 1
Buffer boundary test * FAILED
- Transmit should fail due to too small buffer
to solve it,the follwing code works...
Status = SmartcardT1Request(SmartcardExtension);
if ( Status != STATUS_SUCCESS )
{
return Status;
}
but it caused another bug:
IFSD request * FAILED
- Test not performed
if I don't return the failing Status when SmartcardT1Request failed,
IFSD request would passed.
Does anyone here had met such problem???
quite at sea now:-(
do the boundary test and the IFSD request conflict? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47484
What ISA bus?
We are porting Device Control software from MSDOS to Windows 98 and need to write a Device Driver for a legacy ISA Interface Card with Visual C++ 5.0 and the Windows 98 DDK (Driver Development Kit).
There are multiple ISA slots in the Control PC so how do I specify what ISA bus the Interface Card is plugged into since it is not "Plug and Play" ? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47478
How to write INF file for sys?
Sorry for this newbie question. Would anyone here please drop me a link?
Thanks in advance. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47476
WinDbg Tools
Hi,
I have downloaded WinDbg 6.3.0017.0 Tools from following links:
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
I have installed this tools also.
I would like to debug Kernel debugger for USB driver(*.sys file).
When i run my application i'm getting Blue Screen error.
How can i approach to debug sys file., when running application file?
Looking forward your valuable reply.
--
Thanks & Regards,
NagarajuS Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47475
Unidriver Minidriver dev tool and versioning the DLL
Hi,
Can anyone tell me the proper way to add/change the version information on the DLL created with the help of the print Minidriver development tool? When creating a project with Print MDT, it generates the RC file for you and if you change it manually with new version information, it complains the next time you load it up. If you allow it to reprocess the RC file, you lose what you put in there.
Am I stuck with the Microsoft copyright and version number? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47474
Need copy of latest Win DDK
Could anyone do me a really huge favor and send me the *.h and *.lib
files from the latest WIndows DDK? You can no longer download them
from MS (unless you have MSDN, which I don't). I've ordered the CD,
but I need to get some software to read a USB device working in the
next couple of days. Please (please!) send the files to
wexler "at" ccr.jussieu.fr
Thank you VERY much.
Mark Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47462
How to get SessionId in Win Server 2003
How do i get the sessionid in a driver on windows server 2003 platform? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47458
how to check shared memory created by ExAllocatePoolWithTag using winobj.exe?
I created one shared memory from ExAllocatePoolWithTag with tag
"MpaM", but I couldn't find it in winobj.exe.
Also, does all the shared memory will be shown in BaseNamedObjects
with type Mutant?
Thanks Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47455
1394 Async Write STATUS_IO_TIMEOUT
Hi,
I have to perform an async write to an IEEE 1394 bus device. The device 'stalls' the response until
it completes the operation which is triggered by the write request. Currently this takes aprox. 270
ms. But it seems that the 1394 bus driver stack of W2k Prof. SP4 completes the transaction prior by
returning STATUS_IO_TIMEOUT. (After approx. 200ms.) Under WXp SP1 I could not observe this behavior
so far.
Are the corresponding timeout values defined in the IEEE 1394 bus spec.?
Is there a facility to tweak the applied timeout value at the 1394 bus driver stack?
Any hints are appreciated.
Thanks,
-Volker Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47454
Shared memory issue between driver and application
Hi all,
I am newbie for driver programming.
I created a shared memory in driver program using
ExAllocatePoolWithTag,
the last parameter is the address a string "ADDR".
Then I tried to access that shared memory from one application using
OpenFileMapping with lpName "ADDR".
It failed, shows no access to that memory. Then I changed the
parameter in OpenFileMapping to a random bad name, I got the same
error.
That program can work with shared memory which created using
CreateFileMapping.
Any suggestion are highly welcome. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47450
How to get USB device name
Hi,
I modified the Microsoft DDK sample USBView to enumerate all devices on the
USB. But now I need a device name to make a CreateFile() on each Device.
File names in the format "\\.\USB#Vid_04cc&Pid_1122#5&d3bcdf4&1&1#
{f18a0e88-c30c-11d0-8815-00a0c906bed8}" can I get only for external USB
hubs, but not for other devices.
How can I get these file names for my devices?
Thanks
Michael Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47448
Problems building vxds with Me ddk ...
Hi
There is a way to accomplish this using DDK's Me build environment and
Visual C++ 2003 ?
When I open the build environment it says:
Installation of MSVC not detected!!!
ERROR: MSDEVDIR Environment variable not recognized.
Microsoft Visual C++ 6.0 must be installed.
Thank you
--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47447
Full Duplex
hi!
I am writing a driver for a thernet controller which supports 100/10
Mbps Ful duplex operation..
at one place in the documentation for the MiniportqueryInformation I read
that WinCE doesn't support full duplex..
At many other places there are statments like "if the miniport driver is
full duplex"....
Now I am not able to understand clewarly that whether or not I can take th
full duplex adavantage of my NIC through a miniport driver writtten for
WinCE.
Can anyone please clarify me on this.
regards
-Nitin Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47432
DeviceIoControl returning ERROR_FILE_NOT_FOUND
Hi
I have more than one IOCTL in my driver but one of them is giving error
ERROR_FILE_NOT_FOUND when I call DeviceIoControl.
The IOCTL is implemented in the driver, and was working ... But I have
changed only the check about the buffer size passed to the driver
and have put a critical session protect by a spin lock into the IOCTL
processing and only for this IOCTL the error is ERROR_FILE_NOT_FOUND.
the others IOCTL are working fine.
any ideas ?
Thank you
--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47427
adding and communicating with a com port that has no hardware
How does one add a com port that has no hardware? Once the port is added how
do you communicate with it from another application? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47410
CHAT: Windows Driver Foundation
Ask The Experts Online Chat: Windows Driver Foundation
Need to learn more about Windows Driver Foundation (WDF) and the types of
drivers that can be written using WDF? Join us to learn more about the
kernel mode framework and fundamental concepts of Windows Driver Foundation.
July 27, 2004
11:00 A.M. - 12:00 P.M. Pacific time
2:00 - 3:00 P.M. Eastern time
18:00 - 19:00 GMT
Chat date/time by city:
http://www.timeanddate.com/worldclock/fixedtime.html?day=27&month=7&year=2004&hour=11&min=0&sec=0&p1=234
To add this to you calendar:
http://msdn.microsoft.com/chats/outlook_reminders/win_jul27.ics
For more info on MSDN chats, including other upcoming developer chats, chat
archives, and other info see http://www.msdn.microsoft.com/chats. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47408
There is a way to queue a APC from a NT driver to be handled by a user level process (like vxds can do with _VWIN32_QueueUserApc)
Hi
There is a way to queue a APC from a NT driver to be handled by a user level
process (like vxds can do with _VWIN32_QueueUserApc...)
Thank you
--
Leandro Gustavo Biss Becker
eSystech Embedded Systems Technologies
+55(41)3029-2960
http://www.esystech.com.br Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47400
FAT File Systems and Enc/Dec Filter Drivers
Hi Gurus,
Is there any special cases that are to be handled while writing an
Encryption/Decryption Filter Driver for FAT32 File systems.
Actually we are witnessing some frequent crashes with respect to FAT whereas
with the help of NTFS its perfectly working.
Has anyone witnessed this kind of problem with FAT?
Thanks and Regards
Shal Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47399
Print driver: Removing PaperSize definitions
Hi,
I noticed a problem with the size of a vendor specified paper size in my Unidriver GPD file. I fixed it, but it appears that the old definition still exists. I did a search on my XP registry and found the old name under several entries, one being HKLM\SYSTEM\CurrentControlSet\Control\Print\Forms. I think this is causing me problems because the only way to get the fixed version to appear in the driver "properties" section is to give it a different name.
Is the only way to remove the paper size definition to manually delete it from the registry? Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47394
ImageProcessing and banding...
Hello all;
(Win2K UNIDRV OEMDLL)
I'm doing a custom halftone (downconversion from 8BPP to 1BPP) in ImageProcessing, and handing the bitmap back to UNIDRV for output to spooler. With a res of (203(X) x 508(Y)), when a page is rendered in 2 bands (i.e., a 1728 wide x 5588 Letter size page), the data output is 2 x the height of the first band, NOT the sum of band heights.
That is:
(from pBitmapInfoHeader->biHeight)
Band 1: 2800 lines high
Band 2: 2788 lines high.
Data out = 5600 lines, NOT 5588. Obviously, the last 12 lines are garbage data.
I'm processing the data and returning it in the supplied bitmap area, and returning
*ppbResult = pSrcBitmap;
for each band.
Should I handle banded (repeated) calls to ImageProcessing
*differently* from single-band page calls?
If all else fails, I can write to the spooler directly, but I'd rather not.
Thanks!
--
J.C. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47389
Does IOCTL_USB_GET_NODE_INFORMATION trigger USB bus enumeration?
Does anybody knows how ecxatly
IOCTL_USB_GET_NODE_INFORMATION and IOCTL_USB_GET_NODE_CONNECTION_NAME
calls work?
I am developing a USB device driver for a USB device. And for the testing reason I want to have some PC application wich can show me if my device was succesfully enumerated. But I donâ??t want to force the enumeration by this applications.
The UsbView example from DDK looks useful for my purpose, but unfortunately I canâ??t find any information about IOCTL_USB_* calls. Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47388
How to write and read from a I/O address directly in VC++?
Hi My friends,
My company made a very old motor controller, it's a ISA card. It works under
DOS now. Our customer and my boss want it can be worked on Windows
operating system(XP or NT)
I checked its source code( for DOS 6.22), most of controls are done by
writing and reading from several I/O addresses. As I know in windows, I
can not access low level I/O directly.
Would you like to tell me how to do it? I think i need to write a driver for
it. If you could give me some information on how to write device driver, I
will really appreciate it. I 'm a VC++ programmer, but I never wrote
driver before.
If you'd like to write to me, you email address is lchang@andec.ca
Thanks ahead.
Larry Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47387
SATA disk drives - IOCTL_ATA_PASS_THROUGH support
I've been looking for a third party SATA controller that supports
IOCTL_ATA_PASS_THROUGH, but I've had no luck. Does anyone know of a
controller that supports this?
From what I've seen, third party SATA controllers (Adaptec, Promise)
are implementing there miniport drivers as SCSI miniport drivers, so
IOCTL_SCSI_PASS_THROUGH is supported, but not IOCTL_ATA_PASS_THROUGH.
This makes something as simple as sending an Identify command through
the pass through interface impossible (?).
Also, does anyone know if the Intel ICH5 chipset supports the
IOCTL_ATA_PASS_THROUGH for SATA devices?
Any feedback would be greatly appreciated.
Thanks,
Jeff Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47383
Device to be opened from a DOS program (i.e., NTVDM)
Hello,
currently, I'm trying to modify a driver to be able to be opened from a
legacy DOS program (compiled with Turbo Pascal, if this matters).
Anyway, I can't find a way to do it.
There is a Symbolic Link created, and opening it from a Win32
application works like a charm.
Anyway, if the DOS based program opens the device (with a call to
LongOpenFile('\\.\giveio', F, fmReadOnly)), the call always fails.
Anyway, I can see from the debugger that the device is opened and
immediately closed.
And: Yes, I always return STATUS_SUCESS in response to IRP_MJ_CREATE:
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = STATUS_SUCCESS;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
return STATUS_SUCCESS;
There is no other return path. I don't have a clue what to do. I thought
that the symbolic link might need to be created somewhere else than in
\DosDevices\, but since the IRP_MJ_CREATE routine is called (as well as
the IRP_MJ_CLOSE routine), I don't know where to search.
I already had a look at how LPTx are created, as they are accessible to
NTVDM programs, too, but I could not find a hint what I am doing wrong.
Any ideas?
Regards,
Spiro.
--
Spiro R. Trikaliotis
http://www.trikaliotis.net/ Tag: alt.emergency-services.moderated a flop? 3 posts in 30 days were all legitimate and on-topic and made by the person carrie Tag: 47373
alt.emergency-services.moderated a flop? 3 posts in 30 days were all
legitimate and on-topic and made by the person carrie