Micro Blogging

This blog I created for micro posts.

I got this result while searching a keyword in my hard disk using some searching tool. :)

This article lists the steps and some tips to help the OEM driver developer write an "uninstall" package that safely removes .inf files from the system. You have to have administrative credentials to complete these steps.

To remove .inf files, follow these steps:

Note :Microsoft recommends that you leave your driver files where they are, if possible, even after you remove your value added applications and .inf files. Other devices and drivers on the system may reference your driver and will stop functioning correctly if the driver files are removed.

  1. Retrieve the path and file name of your .inf file:
  • The .inf files are located in the %Windir%\Inf folder, and are accompanied by a system-maintained .pnf file with the same root name. When third-party drivers are installed correctly, the .inf is renamed to Oemxx.inf (where xx is a sequential number) to make sure that there are no name conflicts with drivers that are included with the product and with other third-party drivers. You can find the installed name of your driver by using the SetupCopyOEMInf function with the SP_COPY_REPLACEONLY flag and the full path name to your original .inf file (SetupCopyOEMInf is documented in the operating system SDK).
  • If the original .inf file has been moved, use the full path name to the new location of your .inf file. If the original .inf does not exist on the system, you have to enumerate all the Oemxx.inf files. In each one, check the Provider, DriverVer, Hardware IDs, and other properties to identify the .inf files that you must remove. There is code that does the enumeration and details retrieval in the FindCurrentDriver routine in Dump.cpp of the DevCon sample code (in the Windows Driver Development Kit under Src\Setup\Devcon).
  • You can also retrieve the Oemxx.inf name from the "InfPath" REG_SZ value under the associated device's driver key, before the device has been removed.
  • For Windows XP and later versions, use SetupDiBuildDriverInfoList with DeviceInstallParams.FlagsEx set to DI_FLAGSEX_INSTALLEDDRIVER to obtain details about the installed driver.
  • For Windows 2000, use SetupDiOpenDevRegKey to find the key.
2. Remove the .inf file and associated files.
  • On Windows XP and later operating systems, after you have the actual name of the .inf file in the \Inf folder, you can use SetupUninstallOEMInf to correctly remove it.
  • On Windows 2000, follow these steps:
  1. Enumerate all the devices and make sure that none are using your driver.
  2. Use DeleteFile to remove only the .pnf files from the %Windir%\Inf folder.
  3. Use DeleteFile to finally remove the .inf files from the %Windir%\Inf folder.
APPLIES TO

  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows Server 2003 Service Pack 1


Keywords:
kbusb kbwdm kbplugplay KB813449

A woman awakes during the night to find that her husband was not in bed.

She goes downstairs to look for him. She finds him sitting at the kitchen table with a cup of coffee in front of him.

He appears to be in deep thought, just staring at the wall. She watches as he wipes a tear from his eye and takes a sip of his coffee.

"What's the matter, dear?" she whispers as she steps into the room. "Why are you down here at this time of night?"

The husband looks up from his coffee, "Do you remember 20 years ago when we were dating, and you were only 18?" he asks solemnly. "Yes I do" she replies.

The husband pauses; the words were not coming easily. "Do you remember when your father caught us in the garden?"

"Yes, I remember" said the wife, lowering herself into a chair beside him.

The husband continued.. "Do you remember when he showed the shotgun in my face and said, 'Either you marry my daughter, or I'll send you to jail for 20 years?"

"I remember that too" she replied softly.

He wiped another tear from his cheek and said, "I would have been released today!"

Boxing Day seems to have originated in the mid nineteenth century in England. Some historians believe the name 'Boxing Day' came about because the boxes placed in churches where parishioners deposited alms (coins) for the poor were opened, and the contents were distributed on December 26, which is also the Feast of St Stephen. (St Stephen was the first Christian martyr.)

Others believe that the Boxing Day tradition originated as a holiday for members of the upper class to give boxes containing food, clothing or money to tradespeople and servants, in much the same way that many employers offer their employees bonuses today. These gifts were usually given in boxes; hence the name 'Boxing Day".
Oxford English Dictionary says this comes from the Christmas box; the verb box meaning: To give a Christmas-box, and then leading to the term boxing-day.

An extension of the above theory is that when Christmas holidays were much shorter than they are today certain services often only had Christmas Day as a holiday and returned to work the day after. These included services such as the mail, newspaper or milk delivery. Householders would give them a Christmas gift or, as it was commonly called, a Christmas box on this day to thank them for their service throughout the year.

The common theme, however, is that Boxing Day has absolutely nothing to do with the sport of boxing.

Partially taken from "http://wiki.answers.com/Q/Why_is_Boxing_Day_called_Boxing_Day"

Related Posts with Thumbnails

Followers

मेरी छोटी सी दुनिया

Counter