Feb 26, 2008

My ToroiseSVN settings

The ignored file types in config.txt

global-ignores = global-ignores = *.o *.obj *.sbr *.ilk *.pch *.lo *.la #*# .*.rej *.rej .*~ *~ .# *.DS_Store Debug Release *.exp *.res *.pdb *.idb

Feb 22, 2008

Registry Settings for Windows Service

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\Start

The type of "Start" is "REG_DWORD"

The value as follows(copied from MSDN):
0x0 (SERVICE_BOOT_START)
Indicates a driver started by the operating system loader.

This value must be used for drivers of devices required for loading the operating system.
0x1 (SERVICE_SYSTEM_START)
Indicates a driver started during operating system initialization.

This value should be used by PnP drivers that do device detection during initialization but are not required to load the system.

For example, a PnP driver that also can detect a legacy device should specify this value in its INF so that its DriverEntry routine will be called to find the legacy device, even if that device cannot be enumerated by the PnP manager.
0x2 (SERVICE_AUTO_START)
Indicates a driver started by the service control manager during system startup.

This value should never be used in the INF files for WDM or PnP device drivers.
0x3 (SERVICE_DEMAND_START)
Indicates a driver started on demand, either by the PnP manager when the corresponding device is enumerated or possibly by the service control manager in response to an explicit user demand for a non-PnP device.

This value should be used in the INF files for all WDM drivers of devices that are not required to load the system and for all PnP device drivers that are neither required to load the system nor engaged in device detection.
0x4 (SERVICE_DISABLED)
Indicates a driver that cannot be started.

This value can be used to temporarily disable the driver services for a device, but a device/driver cannot be installed if this value is specified in the service-install section of its INF file.

Feb 20, 2008

My Vista Desktop Setting

TODO: pics here
1.Rocket Dock
2.?? on Devianart
3.Zeus
4.Optional icons of Rocket Dock
5.Wallpapers from \System\Desktop Pictures

Feb 17, 2008

How to start USB Device Framework(CV) manually?

Find usbhct.exe in your WDK(Windows Driver Kit)
Type: usbhct.exe -g -d 0E8D/0004 -l "log"
0E8D/0004 is your Vendor ID / Product ID
"log" is the name of your log file. Beware of that it's required to supply a log file name.

Feb 13, 2008

TODO: Teddy usb

see
http://hackedgadgets.com/2006/06/18/teddy-bear-usb-flash-drive/

Feb 6, 2008

Windows XP Leopard Glass Edition

Windows XP Leopard Glass Edition is a very strange OS. Does anyone know it is Leopard or XP?

Pics:

Feb 5, 2008

Memory leak in usbser.sys

Affected OS: Windows XP, SP1, SP2 and Vista
usbser.sys fails to release 4 bytes memory when PnPDTest -> Rebalance is performed. Microsoft already knows this and does not want to fix this. If you experience this problem, contact MS CSS support, and they won't charge you.

There are many undocumented errata which cannot be filtered by the errata filter. All errata that are involved BSOD will not be documented!!! Beware, I have warned you. Don't trust errata filter and MS CSS always needs YOUR SUPPORTS.

P.S. I have special processed my blog so those hackers cannot see my blog.

 
TEMPLATE HACKS AND TWEAKS BY [ METAMUSE ] BLACKCAT 1.1
/scripts/shBrushJScript.js'/>