HRESULT Facility – By Value

HRESULT Facility A HRESULT Error Code is a 32bit number with bits representing different purposes. Bits 16-26 are the Facility. The Facility is the originating API. Refer to HRESULT Facility – By Name for a table sorted by name. Facility by Value FACILITY Decimal Hex FACILITY_NULL 0 0x0 FACILITY_RPC 1 0x1 FACILITY_DISPATCH 2 0x2 FACILITY_STORAGE…

0

HRESULT Facility – By Name

HRESULT Facility A HRESULT Error Code is a 32bit number with bits representing different purposes. Bits 16-26 are the Facility. The Facility is the originating API. Refer to HRESULT Facility – By Value for a table sorted by value. Facility by Name FACILITY Decimal Hex FACILITY_AAF 18 0x12 FACILITY_ACCELERATOR 1536 0x600 FACILITY_ACS 20 0x14 FACILITY_ACTION_QUEUE…

0

Enhancing the “Open Command Prompt here” Context Menu experience

For decades, you’ve been able to hold down [Shift] and Right-Click on a folder (or the background of a folder) to get a “Open Command Prompt here” option. (“Copy as path” is also on this menu) I recently also discovered, that you can open any program using the folder as the current folder by typing a…

0

File Version / Product Version

Some sample code to get the File / Product Version of a file. #include <stdio.h>#include <windows.h> #ifndef nullptr #define nullptr NULL#endif int _tmain(int argc, _TCHAR* argv[]){    if (argc > 1)    {        DWORD dwSize = GetFileVersionInfoSize(argv[1], nullptr);        if (dwSize > 0)        {            BYTE* pBlock = (BYTE*)malloc(dwSize);            if (pBlock != nullptr)            {                if (GetFileVersionInfo(argv[1], 0, dwSize, pBlock))                {                   …

0

Windows Media Center – Reset PlayReady after Hardware change

After a hardware change, Windows Media Center (WMC) will probably start to display “Video playback device does not support playback of protected content” when watching protected content (e.g. CableCARD). This isn’t a HDCP issue, it’s your PlayReady DRM keys. As an Administrator: Close Windows Media Center (and turn off any Windows Media Center Extenders) File…

0

How to fix a Phone that is stuck in a (quick) reboot loop

Remove the battery from device (if you can’t turn it off, just continue on to the next steps) Don’t connect the device to a PC yet Launch Windows Device Recovery Tool (http://www.microsoft.com/en-us/mobile/support/faq/?action=singleTopic&topic=FA142987) Select that “Your Device cannot be Discovered” Select the device type (e.g. Lumia Device for Microsoft built phones); it should be searching for…

0

Defrag Tools Live @ //build/ 2012

https://channel9.msdn.com/Events/Ch9Live/Channel-9-Live-at-BUILD-2012/Defrag-Tools-Live-14

0

Announcing the "Defrag Tools" show on Channel 9

Andrew Richards and Larry Larsen host this deep dive into the tools used on the tech support show Defrag and walk you through how to use many Windows diagnostic tools found on SysInternals. https://channel9.msdn.com/Shows/Defrag-Tools  

0