DCSIMG
WDK - Asaf Shelly

Browse by Tags

Windows Embedded Compact 7 Book
Saturday, October 15, 2011 11:05 PM
If you are interested in Windows Embedded Compact 7 you should take a look at Avi Kcholi's new book " Pro Windows Embedded Compact 7: Producing Device Drivers ". Avi is the number one expert in Israel and is one of the leading figures world wide. Soon to be published, you can already find it on Amazon: http://www.amazon.com/Pro-Windows-Embedded... Read More...
by AsafShelly | with no comments
תגים:, ,
WDK setup on Windows Embedded "unknown trust provider"
Thursday, February 10, 2011 3:01 PM
Hi All, I tried istalling my WDF based driver on Windows Embedded Standard 2009 and it failed. Dependency walker showed that my driver is missing the reference wdfldr.sys which is installed automatically with WDF's co-installer. Device Manager shows an unknown device under my device class and setup API identifies that a device with the class is installed... Read More...
by AsafShelly | with no comments
תגים:, , ,
Graphedit Error 0x8007048f: Device is not connected
Wednesday, February 09, 2011 12:14 PM
I got this error on Graph Edit: "This graph can't play. The device is not connected. (Return code: 0x8007048f)" when I tried to open a USB capture device (VC600). The solution was to add the filter WDM Crossbar under the category WDM Streaming Crossbar, then render it's video output so that it is the input to the capture card. Hope this helps... Read More...
by AsafShelly | 1 comment(s)
תגים:, ,
Verify Installation of a custom device using C#
Tuesday, March 09, 2010 5:24 PM
Hi all, Using my WinUSB C# component, I also needed to automatically install the driver if it is not already installed. The INF file defines a new device class by its GUID. This means that the class does not exist on the machine if the device is not installed. Here is the code: [ DllImport ( "setupapi.dll" , SetLastError = true , CharSet = CharSet ... Read More...
When to use the IsBadXxxPtr Win32 API
Sunday, January 17, 2010 4:56 PM
This post is a follow-up for two previous posts. The first is my own called Verifying C++ Buffers which was replied with a second post by Sasha titled IsBadXxxPtr Is Really Harmful – Please Don’t Use These Functions . The first post mentioned the advantages of using IsBadXxxPtr API over verifying pointers by using ASSERT (or comparing to zero). The second post... Read More...
WinUSB .Net Component
Tuesday, December 29, 2009 9:43 AM
I have uploaded a WinUSB Component for .Net with full source code here: WinUSB .Net Component in C# . The component comes with full source code and has the following features: Read More...
WinUSB Read Problem
Tuesday, December 22, 2009 3:35 PM
Hi All, I have decided to move forward from my implementation of BulkUSB.sys driver to using the formal implementation called WinUSB. It is a package of a kernel driver and a user-mode API documented as part of the MSDN library. When I tried to do asynchronous reads I discovered two undocumented / confusing failures: The first is GetLastError returns 997 - ERROR_IO_PENDING... Read More...
by AsafShelly | with no comments
תגים:, ,