8000 mactype/override.h at master · GLRog/mactype · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"doc","path":"doc","contentType":"directory"},{"name":"optimize","path":"optimize","contentType":"directory"},{"name":"EventLogging.cpp","path":"EventLogging.cpp","contentType":"file"},{"name":"EventLogging.h","path":"EventLogging.h","contentType":"file"},{"name":"GdiPlusTypes2.h","path":"GdiPlusTypes2.h","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"Makefile.vc2005","path":"Makefile.vc2005","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"array.h","path":"array.h","contentType":"file"},{"name":"build.vc2005.bat","path":"build.vc2005.bat","contentType":"file"},{"name":"cache.cpp","path":"cache.cpp","contentType":"file"},{"name":"cache.h","path":"cache.h","contentType":"file"},{"name":"colorinvert.h","path":"colorinvert.h","contentType":"file"},{"name":"common.h","path":"common.h","contentType":"file"},{"name":"detours.h","path":"detours.h","contentType":"file"},{"name":"directwrite.cpp","path":"directwrite.cpp","contentType":"file"},{"name":"directwrite.h","path":"directwrite.h","contentType":"file"},{"name":"dll.cpp","path":"dll.cpp","contentType":"file"},{"name":"dll.h","path":"dll.h","contentType":"file"},{"name":"dynCodeHelper.cpp","path":"dynCodeHelper.cpp","contentType":"file"},{"name":"dynCodeHelper.h","path":"dynCodeHelper.h","contentType":"file"},{"name":"easyhook.h","path":"easyhook.h","contentType":"file"},{"name":"expfunc.cpp","path":"expfunc.cpp","contentType":"file"},{"name":"expfunc.def","path":"expfunc.def","contentType":"file"},{"name":"ft - non-ref.cpp","path":"ft - non-ref.cpp","contentType":"file"},{"name":"ft.cpp","path":"ft.cpp","contentType":"file"},{"name":"ft.h","path":"ft.h","contentType":"file"},{"name":"ft2build.h","path":"ft2build.h","contentType":"file"},{"name":"ft2vert.c","path":"ft2vert.c","contentType":"file"},{"name":"ft2vert.h","path":"ft2vert.h","contentType":"file"},{"name":"fteng.cpp","path":"fteng.cpp","contentType":"file"},{"name":"fteng.h","path":"fteng.h","contentType":"file"},{"name":"ftref.c","path":"ftref.c","contentType":"file"},{"name":"ftref.h","path":"ftref.h","contentType":"file"},{"name":"gdiPlusFlat2.cpp","path":"gdiPlusFlat2.cpp","contentType":"file"},{"name":"gdiPlusFlat2.h","path":"gdiPlusFlat2.h","contentType":"file"},{"name":"gdidll.rc","path":"gdidll.rc","contentType":"file"},{"name":"gdiexe.rc","path":"gdiexe.rc","contentType":"file"},{"name":"gdipp.icproj","path":"gdipp.icproj","contentType":"file"},{"name":"gdipp.sln","path":"gdipp.sln","contentType":"file"},{"name":"gdipp.vcproj","path":"gdipp.vcproj","contentType":"file"},{"name":"gdipp.vcxproj","path":"gdipp.vcxproj","contentType":"file"},{"name":"gdipp.vcxproj.filters","path":"gdipp.vcxproj.filters","contentType":"file"},{"name":"hash_list.cpp","path":"hash_list.cpp","contentType":"file"},{"name":"hash_list.h","path":"hash_list.h","contentType":"file"},{"name":"hook.cpp","path":"hook.cpp","contentType":"file"},{"name":"hooklist.h","path":"hooklist.h","contentType":"file"},{"name":"ivs_otft.h","path":"ivs_otft.h","contentType":"file"},{"name":"makelib.cmd","path":"makelib.cmd","contentType":"file"},{"name":"misc.cpp","path":"misc.cpp","contentType":"file"},{"name":"override.cpp","path":"override.cpp","contentType":"file"},{"name":"override.h","path":"override.h","contentType":"file"},{"name":"ownedcs.cpp","path":"ownedcs.cpp","contentType":"file"},{"name":"ownedcs.h","path":"ownedcs.h","contentType":"file"},{"name":"resource","path":"resource","contentType":"file"},{"name":"resource.h","path":"resource.h","contentType":"file"},{"name":"run.cpp","path":"run.cpp","contentType":"file"},{"name":"settings.cpp","path":"settings.cpp","contentType":"file"},{"name":"settings.h","path":"settings.h","contentType":"file"},{"name":"stdint.h","path":"stdint.h","contentType":"file"},{"name":"strtoken.h","path":"strtoken.h","contentType":"file"},{"name":"supinfo.h","path":"supinfo.h","contentType":"file"},{"name":"tlsdata.h","path":"tlsdata.h","contentType":"file"},{"name":"undocAPI.h","path":"undocAPI.h","contentType":"file"},{"name":"wow64ext.h","path":"wow64ext.h","contentType":"file"},{"name":"wow64layer.h","path":"wow64layer.h","contentType":"file"}],"totalCount":67}},"fileTreeProcessingTime":9.577888999999999,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":248642634,"defaultBranch":"master","name":"mactype","ownerLogin":"GLRog","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-03-20T01:36:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/48896608?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1584668217.0","canEdit":false,"refType":"branch","currentOid":"be031ea53f012316e6ad7aa3b5d8537b79898bd1"},"path":"override.h","currentUser":null,"blob":{"rawLines":["","#pragma once","","#include \"common.h\"","#include \"tlsdata.h\"","#include \"undocAPI.h\"","#include \"gdiPlusFlat2.h\"","","#include \"cache.h\"","#include \"settings.h\"","#include \u003cset\u003e","#include \u003cdwrite_1.h\u003e","#include \u003cdwrite_2.h\u003e","#include \u003cdwrite_3.h\u003e","","using namespace std;","","","/*","typedef struct _STRING {","\tUSHORT Length;","\tUSHORT MaximumLength;","\tPCHAR Buffer;","} ANSI_STRING, *PANSI_STRING;","","typedef int ","(WINAPI *PFNLdrGetProcedureAddress)(","\t\t\t\t\t\t\t\t\tIN HMODULE ModuleHandle,","\t\t\t\t\t\t\t\t\tIN PANSI_STRING FunctionName OPTIONAL,","\t\t\t\t\t\t\t\t\tIN WORD Oridinal OPTIONAL,","\t\t\t\t\t\t\t\t\tOUT PVOID *FunctionAddress );","*/","","struct CFontSubResult","{","public:","\tLPWSTR lpRealName;","\tLPWSTR lpGDIName;","\tCFontSubResult(LPCWSTR RealName, LPCWSTR GDIName)","\t{","\t\tlpRealName = _wcsdup(RealName);","\t\tlpGDIName = _wcsdup(GDIName);","\t}","\t~CFontSubResult()","\t{","\t\tif (lpRealName)","\t\t\tfree(lpRealName);","\t\tif (lpGDIName)","\t\t\tfree(lpGDIName);","\t}","};","","typedef map\u003cHFONT, CFontSubResult*\u003e CFontCache;","typedef set\u003cHDC\u003e CDCArray;","","class CThreadLocalInfo","{","private:","\tCBitmapCache\tm_bmpCache;","\tbool\t\t\tm_bInExtTextOut;","\tbool\t\t\tm_bInUniscribe;","\tbool\t\t\tm_bInUniTextOut;","\tbool\t\t\tm_bPadding[2];","\tbool\t\t\tm_bInPath;","","public:","\tCThreadLocalInfo()","\t\t: m_bInExtTextOut(false), m_bInUniscribe(false), m_bInPath(false), m_bInUniTextOut(false)","\t{","\t\tTLSDCArray.insert(\u0026m_bmpCache);","\t}","\t~CThreadLocalInfo()","\t{","\t\tTLSDCArray.erase(\u0026m_bmpCache);","\t}","","\tCBitmapCache\u0026 BitmapCache()","\t{","\t\treturn m_bmpCache;","\t}","","\tvoid InExtTextOut(bool b)","\t{","\t\tm_bInExtTextOut = b;","\t}","\tbool InExtTextOut() const","\t{","\t\treturn m_bInExtTextOut;","\t}","","\tvoid InUniscribe(bool b)","\t{","\t\tm_bInUniscribe = b;","\t}","\tbool InUniscribe() const","\t{","\t\treturn m_bInUniscribe;","\t}","\tvoid InUniTextOut(bool b)","\t{","\t\tm_bInUniTextOut = b;","\t}","\tbool InUniTextOut() const","\t{","\t\treturn m_bInUniTextOut;","\t}","\tvoid InPath(bool b)","\t{","\t\tm_bInPath = b;","\t}","\tbool Path() const","\t{","\t\treturn m_bInPath;","\t}","};","","extern CTlsData\u003cCThreadLocalInfo\u003e\tg_TLInfo;","","BOOL IsProcessExcluded();","BOOL IsProcessUnload();","BOOL IsExeUnload(LPCTSTR lpApp);","","#define HOOK_MANUALLY HOOK_DEFINE","#define HOOK_DEFINE(rettype, name, argtype) \\","\textern rettype (WINAPI * ORIG_##name) argtype; \\","\textern rettype WINAPI IMPL_##name argtype;","#include \"hooklist.h\"","#undef HOOK_DEFINE","#undef HOOK_MANUALLY","","HFONT GetCurrentFont(HDC hdc);","void AddFontToFT(HFONT hf, LPCTSTR lpszFace, int weight, bool italic);","void AddFontToFT(LPCTSTR lpszFace, int weight, bool italic);","int MyGetProcAddress(HMODULE dll, LPSTR funcname);","","#define HOOK_MANUALLY(rettype, name, argtype) \\","\tLONG hook_demand_##name(bool bForce);","#define HOOK_DEFINE(rettype, name, argtype) ;","#include \"hooklist.h\"","#undef HOOK_DEFINE","#undef HOOK_MANUALLY","//EOF"],"stylingDirectives":[[],[[1,7,"pl-k"]],[],[[1,8,"pl-k"],[9,19,"pl-s"],[9,10,"pl-pds"],[18,19,"pl-pds"]],[[1,8,"pl-k"],[9,20,"pl-s"],[9,10,"pl-pds"],[19,20,"pl-pds"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,8,"pl-k"],[9,25,"pl-s"],[9,10,"pl-pds"],[24,25,"pl-pds"]],[],[[1,8,"pl-k"],[9,18,"pl-s"],[9,10,"pl-pds"],[17,18,"pl-pds"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,8,"pl-k"],[9,14,"pl-s"],[9,10,"pl-pds"],[13,14,"pl-pds"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[],[[0,5,"pl-k"],[6,15,"pl-k"],[16,19,"pl-en"],[19,20,"pl-k"]],[],[],[[0,2,"pl-c"],[0,2,"pl-c"]],[[0,24,"pl-c"]],[[0,16,"pl-c"]],[[0,23,"pl-c"]],[[0,15,"pl-c"]],[[0,29,"pl-c"]],[[0,0,"pl-c"]],[[0,12,"pl-c"]],[[0,36,"pl-c"]],[[0,46,"pl-c"]],[[0,55,"pl-c"]],[[0,51,"pl-c"]],[[0,52,"pl-c"]],[[0,2,"pl-c"],[0,2,"pl-c"]],[],[[0,6,"pl-k"],[7,21,"pl-en"]],[],[[0,7,"pl-k"]],[],[],[[1,15,"pl-en"]],[],[[15,22,"pl-c1"]],[[14,21,"pl-c1"]],[],[[1,16,"pl-en"]],[],[[2,4,"pl-k"]],[[3,7,"pl-c1"]],[[2,4,"pl-k"]],[[3,7,"pl-c1"]],[],[],[],[[0,7,"pl-k"]],[[0,7,"pl-k"]],[],[[0,5,"pl-k"],[6,22,"pl-en"]],[],[[0,8,"pl-k"]],[],[[1,5,"pl-k"]],[[1,5,"pl-k"]],[[1,5,"pl-k"]],[[1,5,"pl-k"],[19,20,"pl-c1"]],[[1,5,"pl-k"]],[],[[0,7,"pl-k"]],[[1,17,"pl-en"]],[[20,25,"pl-c1"],[43,48,"pl-c1"],[61,66,"pl-c1"],[85,90,"pl-c1"]],[],[[13,19,"pl-c1"]],[],[[1,18,"pl-en"]],[],[[13,18,"pl-c1"]],[],[],[[15,26,"pl-en"]],[],[[2,8,"pl-k"]],[],[],[[1,5,"pl-k"],[6,18,"pl-en"],[19,23,"pl-k"]],[],[],[],[[1,5,"pl-k"],[6,18,"pl-en"],[21,26,"pl-k"]],[],[[2,8,"pl-k"]],[],[],[[1,5,"pl-k"],[6,17,"pl-en"],[18,22,"pl-k"]],[],[],[],[[1,5,"pl-k"],[6,17,"pl-en"],[20,25,"pl-k"]],[],[[2,8,"pl-k"]],[],[[1,5,"pl-k"],[6,18,"pl-en"],[19,23,"pl-k"]],[],[],[],[[1,5,"pl-k"],[6,18,"pl-en"],[21,26,"pl-k"]],[],[[2,8,"pl-k"]],[],[[1,5,"pl-k"],[6,12,"pl-en"],[13,17,"pl-k"]],[],[],[],[[1,5,"pl-k"],[6,10,"pl-en"],[13,18,"pl-k"]],[],[[2,8,"pl-k"]],[],[],[],[[0,6,"pl-k"]],[],[[5,22,"pl-en"]],[[5,20,"pl-en"]],[[5,16,"pl-en"]],[],[[1,7,"pl-k"],[8,21,"pl-en"]],[[1,7,"pl-k"],[8,19,"pl-en"],[20,42,"pl-v"]],[[1,7,"pl-k"],[8,15,"pl-en"]],[[1,7,"pl-k"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,6,"pl-k"]],[[1,6,"pl-k"]],[],[[6,20,"pl-en"]],[[0,4,"pl-k"],[5,16,"pl-en"],[45,48,"pl-k"],[57,61,"pl-k"]],[[0,4,"pl-k"],[5,16,"pl-en"],[35,38,"pl-k"],[47,51,"pl-k"]],[[0,3,"pl-k"],[4,20,"pl-en"]],[],[[1,7,"pl-k"],[8,21,"pl-en"],[22,44,"pl-v"]],[[25,29,"pl-k"]],[[1,7,"pl-k"],[8,19,"pl-en"],[20,42,"pl-v"]],[[1,8,"pl-k"],[9,21,"pl-s"],[9,10,"pl-pds"],[20,21,"pl-pds"]],[[1,6,"pl-k"]],[[1,6,"pl-k"]],[[0,5,"pl-c"],[0,2,"pl-c"]]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/GLRog/mactype/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"override.h","displayUrl":"https://github.com/GLRog/mactype/blob/master/override.h?raw=true","headerInfo":{"blobSize":"2.61 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"4957820","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FGLRog%2Fmactype%2Fblob%2Fmaster%2Foverride.h","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"142","truncatedSloc":"123"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"C++","languageID":43,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/GLRog/mactype/blob/master/override.h","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/GLRog/mactype/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/GLRog/mactype/raw/refs/heads/master/override.h","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":null},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"isMarketplaceEnabled":true,"csrf_tokens":{"/GLRog/mactype/branches":{"post":"_sRD6te5N_xFI0EW72LNZNKE55wSIz1nayeWtyICM59l3v0mhThKSPvNCFLeGPtKJuFmIL1RwwIqRHPwjnXFFQ"},"/repos/preferences":{"post":"bJYfnL7NLVzDoB_D28D9We2rTGcT0TgnLuL9zfKPKuG2IQul_m9R_pXbclC11NDIvBN-HLRSN9bqbO35jzYWRg"}}},"title":"mactype/override.h at master · GLRog/mactype","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-0b6f8702959e.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0