标签:win private highlight sdk oca turn char* _stdcall div
int _tmain(int argc, _TCHAR* argv[]) { HINSTANCE sdklib = NULL; sdklib = LoadLibrary(L"C:\\dll\\ext-ms-win-ntuser-private-l1-1-1.dll"); if (!sdklib) { printf("----111"); return -1; } typedef void(__stdcall *Func_ApiInit)(void *ptr); Func_ApiInit fn = (Func_ApiInit)GetProcAddress(sdklib, "LoadLocalFonts"); if (!fn) { printf("22222"); return -3; } (*fn)(NULL); if (FreeLibrary(sdklib)) { sdklib = NULL; return -2; } system("PAUSE"); return 0; }
标签:win private highlight sdk oca turn char* _stdcall div
原文地址:https://www.cnblogs.com/hshy/p/13189204.html