Tag Archives: windows
Enable kernel debugging Windows 7

Run cmd as administrator. Execute command bcdedit /debug ONbcdedit /debug ON Execute command bcdedit /dbgsettings SERIAL DEBUGPORT:1 BAUDRATE:115200bcdedit /dbgsettings SERIAL…

Build OpenSSL for Windows

> You need Visual Studio to build OpenSSL for Windows. > Download OpenSSL source code from here. > Download and…

Scan running processes for unsigned dlls

> Download Sysinternals Suite. > Run command line tool(cmd) with administrative privileges. > To scan all running processes for using…

How to get the UTC offset in C

#include <stdio.h> #include <stdlib.h> #include <time.h>   int GetUTC(){ time_t now = time(NULL); struct tm *lcl = localtime(&now); time_t local…

Get installed firewall in C

You will need to include the libraries ole32.lib, oleaut32.lib and wbemuuid.lib into your project. The following code can be compiled…

Get installed antivirus in C

You will need to include the libraries ole32.lib, oleaut32.lib and wbemuuid.lib into your project. The following code can be compiled…

Getting information from WMI in C

You will need to include the libraries ole32.lib, oleaut32.lib and wbemuuid.lib into your project. The following code can be compiled…

How to get total amount of RAM in C

GlobalMemoryStatusEx – retrieves information about the system’s current usage of both physical and virtual memory. MEMORYSTATUSEX – contains information about…

Detect system architecture in C

GetNativeSystemInfo – retrieves information about the current system to an application running under WOW64. If the function is called from…

Get Windows version in C

I am not gonna use GetVersionEx or GetVersion. Both these functions may be altered or unavailable for releases after Windows…

Previous Page · Next Page