Microsoft APGC Hardware Developer Support Team

Some Windows 10 versions Network Setup Service will keep the network adapter name when a user updates the network driver.

Symptom: When a user installs the network adapter driver, the network adapter will be assigned a...

Date: 12/22/2017

Troubleshoot PnP device issue through Debug Trace from PnP Manager

The PnP Manager is a key component of the Windows Kernel.There had been lots of PnP device related...

Date: 06/29/2015

The Errata in Windows HLK/HCK and WLK

It had been many years when the Windows HardwareCompatibility Program and Windows Hardware...

Date: 06/29/2015

Decode ETL file generated by Manifest-based ETW Provider from different machine

ETW is a powerful trace method in Windows platform. See following articles about the ETW: Improve...

Date: 05/29/2015

No Guarded Mutex in Win8?

As the MSDN article “Fast Mutexes and Guarded Mutexes” says, Starting with Windows 8,...

Date: 11/09/2013

Driver signature consideration for XP and Vista+

HCK8.0 will retire on Nov. 30. But HCK8.1 doesn't support Vista and XP test, what should I do for XP...

Date: 11/09/2013

Windows Hardware Certification Kit QFE...

Date: 11/09/2013

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...

Date: 11/09/2013

How to make a partition on a RAW USB flash disk by programming?

Briefly, here are the steps:1. Use CreateFile to open PhysicalDriveX, that is the USB Flash disk2....

Date: 11/09/2013

Removal Policy for a Device

https://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/Designing%20Hardwa...

Date: 11/09/2013

USB Event Tracking (ETW log in USB Core Stack)

Background:=========Event Tracing for Windows (ETW) In Windows 7, ETW provides an event logging...

Date: 11/09/2013

unsigned IM(passthru) driver cannot bind to newly installed NIC

  1. unsigned IM(passthru) driver cannot bind to newly installed NIC2. Uninstall a NIC in Device...

Date: 11/09/2013

WDF Logo Requirements Regarding Coinstallers

https://blogs.msdn.com/iliast/archive/2009/08/13/wdf-logo-requirements-regarding-coinstallers.aspxThe...

Date: 11/09/2013

USB Port busy, or not?

How to detect USB Port status connected with a USB Flash drive? (working or idle). It seems no APIs...

Date: 11/09/2013

MDL

https://www.osronline.com/article.cfm?id=423An MDL is a structure that describes the fixed physical...

Date: 11/09/2013

How to Get PCMCIA Socket Information

The sample code performs the following steps:Uses the IoGetDeviceObjectPointer function to obtain...

Date: 11/09/2013

Banned API in Windows

https://download.microsoft.com/download/2/e/b/2ebac853-63b7-49b4-b66f-9fd85f37c0f5/banned.h/****...

Date: 11/09/2013

How to get NIC MAC address

Here is a good reference, Thanks...

Date: 11/09/2013

Error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)"

Error 2 error LNK2019: unresolved external symbol "char * __stdcall...

Date: 11/09/2013

How to "Refresh" Device Manager by programming

We are talking about: Device Manager->Action->Scan for hardware changesThe following CM APIs...

Date: 11/09/2013

USB Device ENUMERATION PROCESS

( Copy From Microchip AN1003) The following summarizes the steps involved in theenumeration of a USB...

Date: 11/09/2013

Composite USB device

A device that contains more than one interface descriptor is known as a composite USB device. Each...

Date: 11/09/2013

PnP Device Installation

  1. Plug the device into the computer.2. The device is enumerated. the bus driver notifies the...

Date: 11/09/2013

Display JPG in ATL

• Tools: VC2005 (ATL8.0)• 2 possible ways:1. using the OleLoadPicture function and the...

Date: 11/09/2013

How does the System Find and Load Drivers?

  1. PnP device It has an electronic signature that bus driver can detect the new hardware 2. Legacy...

Date: 11/09/2013

Safely Remove Hardware

Invoke the Safely Remove Hardware Dialog:RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll First...

Date: 11/09/2013

How to test an unsigned driver ?

The recommendation is test-sign your driver...Installing an Unsigned Driver during Development and...

Date: 11/09/2013

Overview of Signing and Install Process

https://msdn.microsoft.com/en-us/library/aa906274.aspxKernel-Mode Code Signing Requirements for...

Date: 11/09/2013

Test Unit Ready (TUR)

The SCSI Test Unit Ready command is used to determine if a device is ready to transfer data...

Date: 11/09/2013

How to remove phantom/ghost devices

*What is phantom device? Hidden, inactive deives, ghost devices. When a device is physically removed...

Date: 11/09/2013

Run program as Local System Account

To delete registry keys under Vista+... This article which demonstrates the use of PSTools from...

Date: 11/09/2013

To ignore a USB device's serial number

https://www.lvr.com/usbfaq.htmDuring device testing, we attach many devices that are identical except...

Date: 11/09/2013

Get installed hotfixes list in Windows

Here is a command: wmic qfe list full you should see output like this: C:\windows\system32>wmic...

Date: 11/09/2013

"CTS" is not supported by USBSer.sys?

The usbser.sys assumes that the device has always signaled CTS.The RTS/CTS hardware handshaking is...

Date: 11/09/2013

Layered Driver Architecture

https://msdn.microsoft.com/en-us/library/ms791644.aspxLayered Driver ArchitectureWindows operating...

Date: 11/09/2013

MaximumTransferSize is obsolete after Win2000

MaximumTransferSize member of the USBD_PIPE_INFORMATION structure is obsolete after Win2000. Systems...

Date: 11/09/2013