All about Windows Hardware Development

Windows Driver/Device Development and Hardware Certifcation

Browse by Tags

Tagged Content List
  • 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: 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: Display JPG in ATL

    • Tools: VC2005 (ATL8.0) • 2 possible ways: 1. using the OleLoadPicture function and the IPicture interface http://msdn.microsoft.com/en-us/magazine/cc301454.aspx 2. ATL CImage Class http://msdn.microsoft.com/en-us/library/bwea7by5(VS.80).aspx CImage calls GDIPlus in the end... Gdiplus.dll...
  • Blog Post: Error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)"

    Error 2 error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" ( ?ConvertBSTRToString@_com_util@@YGPADPA_W@Z ) referenced in function "public: char const * __thiscall _bstr_t::Data_t::GetString(void)const " ( ?GetString@Data_t@_bstr_t@@QBEPBDXZ ) main.obj...
  • Blog Post: How to get you NIC MAC address

    Here is a good reference, Thanks Khalid! http://www.codeguru.com/Cpp/I-N/network/networkinformation/article.php/c5451/ Here is my code, just a little modification on Khaild's:
  • 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...
Page 1 of 1 (6 items)