All about Windows Hardware Development

Windows Driver/Device Development and Hardware Certifcation

Browse by Tags

Tagged Content List
  • Blog Post: Layered Driver Architecture

    http://msdn.microsoft.com/en-us/library/ms791644.aspx Layered Driver Architecture Windows operating systems support a layered driver architecture. Every device is serviced by a chain of drivers, typically called a driver stack. Each driver in the stack isolates some hardware-dependent features from the...
  • Blog Post: Get installed hotfixes in Windows

    Here is a command: wmic qfe list full On XP, go to the registry directly: Instances of this class represent updates found in two places in the registry: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Hotfix HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft...
  • Blog Post: To ignore a device's serial number

    http://www.lvr.com/usbfaq.htm During device testing, we attach many devices that are identical except for the serial numbers. How can I prevent Windows from asking to install a new driver every time a device is attached? This method causes Windows 2000 and XP to ignore a device's serial number. It's...
  • Blog Post: Run program as Local System Account

    To delete registry keys under Vista+... This article which demonstrates the use of PSTools from SysInternals which was acquired by Microsoft in July, 2006. I launched the command line and issued the following statement and suddenly I was running under the Local System Account like magic: psexec...
  • Blog Post: How to remove phantom/ghost devices

    What is phantom devices Hidden, inactive deives, ghost devices. When a device is physically removed from a machine, the driver becomes a phantom and is no longer visible in Device Manager. Normally this is desirable, but can be a problem if you wish to remove the device driver. How to identify...
  • Blog Post: Overview of Signing and Install Process

    I think "PIC" actually means "SPC". http://msdn.microsoft.com/en-us/library/aa906274.aspx Kernel-Mode Code Signing Requirements for Public Release of a Driver Windows Vista 64-bit Versions The kernel-mode code signing policy requires that a kernel-mode driver be signed as follows: ? A kernel-mode boot...
  • Blog Post: Test an unsigned driver

    The recommendation is test-sign your driver... Installing an Unsigned Driver during Development and Test http://msdn.microsoft.com/en-us/library/aa906338.aspx By default, 64-bit versions of Windows Vista and later versions of Windows will load a kernel-mode driver only if the kernel can verify the driver...
  • Blog Post: Safely Remove Hardware

    1. Invoke the Safely Remove Hardware Dialog: RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll 2. First issue CM_Query_And_Remove_SubTree on the device node, and then follow up with CM_Request_Device_Eject on the device node. Note: use the device node for the USB storage device enumerated by the USB...
  • Blog Post: How the system Finds and Loads Drivers

    1. PnP device It has an electronic signature that bus driver can detect the new hardware 2. Legacy device Initiate the detection by invoking Add New Hardware Wizard. In the end, in both PnP and Legacy Device situation, system uses the same automatic registry and INF file process to load the right driver...
  • Blog Post: PnP Device Installation

    1. Plug the device into the computer. 2. The device is enumerated. the bus driver notifies the kernel-mode PnP manager that the list of devices on the bus has changed. The Kernel-mode PnP manager sends IRPs(IRP_MN_QUERY_ID, IRP_MN_QUERY_CAPABILITIES) to bus driver to gather information about the new...
  • Blog Post: Banned API in Windows

    http://download.microsoft.com/download/2/e/b/2ebac853-63b7-49b4-b66f-9fd85f37c0f5/banned.h /*** * banned.h - list of Microsoft Security Development Lifecycle banned APIs * * Purpose: * This include file contains a list of banned API which should not be used in new code and * removed from legacy code...
  • Blog Post: MDL

    http://www.osronline.com/article.cfm?id=423 An MDL is a structure that describes the fixed physical memory locations that comprise a contiguous data buffer in virtual memory. Each MDL can only describe a single virtually contiguous data buffer. The data buffer that the MDL describes can be in either...
  • Blog Post: Removal Policy for a Device

    http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/Designing%20Hardware%20for%20Surprise%20Removal_v8.doc http://msdn.microsoft.com/en-us/library/ff551967(VS.85).aspx Removal Scenarios for Devices 1.Orderly-Removal Scenarios 2.Surprise-Removal Scenarios Removal-related...
  • Blog Post: How to setup to collect Memory Dump?

    A kernel dump gets created every time a machine has a kernel fault. This dump gets stored in the %systemroot% folder as a memory.dmp file. (Control Panel > System and Security > System > Advanced system settings > Advanced tab > Startup and Recovery Settings.) No Full Memory Dumps...
Page 1 of 1 (14 items)