Checks whether system is using dark mode or not.
Signature:
using fnShouldAppsUseDarkMode = bool (WINAPI*)(); // ordinal 132
#include <stdafx.h> | |
... | |
// tray icon ID | |
#define ID_SYSTEMTRAY 0x1000 | |
// custom message ID | |
#define WM_TRAYICON_EVENT (WM_APP + 1) | |
// tray icon resource ID |
#pragma comment(lib,"Version.lib") | |
#define MAX_LINE_LENGTH 4096 | |
CString GetFileVersion(LPCTSTR filePath) | |
{ | |
CString ret(_T("")); | |
DWORD dummy; | |
DWORD dwSize = GetFileVersionInfoSize(filePath, &dummy); | |
if (dwSize == 0) ret = _T("Error retriving version(Module Not Found)"); |
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
global $download_base_dir; | |
$download_base_dir = dirname(__FILE__); | |
global $download_prefix; | |
$download_prefix = 'download_'; | |
function gr_download_init() { |