This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <shlobj.h> | |
#include <shlwapi.h> | |
#include <stdio.h> | |
#include <vector> | |
#pragma comment(lib, "shlwapi.lib") | |
std::vector<FILETIME> filetimes; | |
void DoRecurse(LPCWSTR dir) | |
{ | |
WCHAR szPath[MAX_PATH]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <string> | |
#include <strsafe.h> | |
std::wstring DoGetOSInfo(void) | |
{ | |
HKEY hKey = NULL; | |
WCHAR szText[32]; | |
DWORD dwValue, cbData; | |
std::wstring ret; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <shlobj.h> | |
BOOL GetPathOfShortcut(HWND hWnd, LPCTSTR pszLnkFile, LPTSTR pszPath) | |
{ | |
TCHAR szPath[MAX_PATH]; | |
#ifndef UNICODE | |
WCHAR wsz[MAX_PATH]; | |
#endif | |
IShellLink* pShellLink; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <list> | |
#include <iostream> | |
int main(void) | |
{ | |
MEMORYSTATUS ms1, ms2; | |
{ | |
std::list<DWORDLONG> lst(0xFFFFFF, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <vector> | |
#include <iostream> | |
int main(void) | |
{ | |
MEMORYSTATUS ms1, ms2; | |
{ | |
std::vector<DWORDLONG> vec(0xFFFFFF, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* WinJIS.h --- Japanese encoding manipulation for Windows. | |
* This is public domain software. | |
* Copyright (C) 2019 Katayama Hirofumi MZ <[email protected]>. | |
*/ | |
#ifndef WINJIS_H_ | |
#define WINJIS_H_ 2 /* Version 2 */ | |
#ifndef _INC_WINDOWS | |
#include <windows.h> | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MWebBrowserEx::QueryInterface: {00020400-0000-0000-C000-000000000046}: IDispatch | |
MWebBrowserEx::QueryInterface: {3050F6D0-98B5-11CF-BB82-00AA00BDCE0B}: IDocHostUIHandler2 | |
MWebBrowserEx::QueryInterface: {6D5140C1-7436-11CE-8034-00AA006009FA}: IServiceProvider | |
MWebBrowserEx::QueryInterface: {9C2CAD80-3424-11CF-B670-00AA004CD6D8}: IOleInPlaceSiteEx | |
MWebBrowserEx::QueryInterface: {B196B289-BAB4-101A-B69C-00AA00341D07}: IOleControlSite | |
MWebBrowserEx::QueryInterface: {B6EA2050-048A-11D1-82B9-00C04FB9942E}: IAxWinHostWindow | |
MWebBrowserEx::QueryInterface: {B722BCCB-4E68-101B-A2BC-00AA00404770}: IOleCommandTarget | |
MWebBrowserEx::QueryInterface: {BD3F23C0-D43E-11CF-893B-00AA00BDCE1A}: IDocHostUIHandler | |
MWebBrowserEx::QueryInterface: {BF9D04BF-DBAD-40EF-B1A1-E4CC38FA8995} | |
MWebBrowserEx::QueryInterface: {C4D244B0-D43E-11CF-893B-00AA00BDCE1A}: IDocHostShowUI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* COPYRIGHT: See COPYING in the top level directory | |
* PROJECT: ReactOS system libraries | |
* FILE: dll/win32/kernel32/winnls/string/japanese.c | |
* PURPOSE: Japanese era support | |
* PROGRAMMER: Katayama Hirofumi MZ | |
*/ | |
#include <k32.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* COPYRIGHT: See COPYING in the top level directory | |
* PROJECT: ReactOS system libraries | |
* FILE: dll/win32/kernel32/winnls/string/japanese.h | |
* PURPOSE: Japanese era support | |
* PROGRAMMER: Katayama Hirofumi MZ | |
*/ | |
#define JAPANESE_TWODIGITYEARMAX 99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// download.js --- download a file from internet | |
//=========================================== | |
// TODO: Please specify the URL and filename: | |
var url = "https://www.google.com/robots.txt" | |
var filename = "robots.txt" | |
// TODO: OK, save and open this file. Done. | |
//=========================================== |