MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / init

Method init

src/common/os/win32/os_utils.cpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 struct EntryPointLoader
113 {
114 static void init()
115 {
116 const HMODULE hmodKernel32 = GetModuleHandle("kernel32.dll");
117 if (hmodKernel32)
118 {
119 fnGetFinalPathNameByHandle = (pfnGetFinalPathNameByHandle)
120 GetProcAddress(hmodKernel32, "GetFinalPathNameByHandleA");
121 fnGetFileInformationByHandleEx = (pfnGetFileInformationByHandleEx)
122 GetProcAddress(hmodKernel32, "GetFileInformationByHandleEx");
123 }
124 }
125 };
126
127 InitMutex<EntryPointLoader> entryLoader("EntryPointLoader");

Callers 1

getUniqueFileIdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected