Lines Matching defs:hInstance
37 static HINSTANCE hInstance; /* HINSTANCE of this DLL. */
411 return hInstance;
437 hInstance = hInst;
695 HINSTANCE hInstance = LoadLibraryA("kernel32");
696 if (hInstance != NULL) {
699 LPVOID)) GetProcAddress(hInstance, "GetFileAttributesExW");
702 LPSECURITY_ATTRIBUTES)) GetProcAddress(hInstance,
706 LPVOID, UINT, LPVOID, DWORD)) GetProcAddress(hInstance,
710 DWORD)) GetProcAddress(hInstance,
712 FreeLibrary(hInstance);
714 hInstance = LoadLibraryA("advapi32");
715 if (hInstance != NULL) {
721 GetProcAddress(hInstance, "GetFileSecurityW");
724 GetProcAddress(hInstance, "ImpersonateSelf");
728 GetProcAddress(hInstance, "OpenThreadToken");
730 GetProcAddress(hInstance, "RevertToSelf");
733 GetProcAddress(hInstance, "MapGenericMask");
740 LPBOOL AccessStatus)) GetProcAddress(hInstance,
742 FreeLibrary(hInstance);
749 HINSTANCE hInstance = LoadLibraryA("kernel32");
750 if (hInstance != NULL) {
753 LPVOID)) GetProcAddress(hInstance, "GetFileAttributesExA");
756 LPSECURITY_ATTRIBUTES)) GetProcAddress(hInstance,
760 LPVOID, UINT, LPVOID, DWORD)) GetProcAddress(hInstance,
765 DWORD)) GetProcAddress(hInstance,
767 FreeLibrary(hInstance);