Lines Matching refs:lpProc
105 static FN_PROC lpProc = NULL; in _CreateToolhelp32Snapshot() local
109 if ( !lpProc ) in _CreateToolhelp32Snapshot()
114 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "CreateToolhelp32Snapshot" )); in _CreateToolhelp32Snapshot()
117 if ( lpProc ) in _CreateToolhelp32Snapshot()
118 hSnapshot = lpProc( dwFlags, th32ProcessID ); in _CreateToolhelp32Snapshot()
126 static FN_PROC lpProc = NULL; in _Process32First() local
130 if ( !lpProc ) in _Process32First()
135 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "Process32First" )); in _Process32First()
138 if ( lpProc ) in _Process32First()
139 fSuccess = lpProc( hSnapshot, lppe32 ); in _Process32First()
147 static FN_PROC lpProc = NULL; in _Process32Next() local
151 if ( !lpProc ) in _Process32Next()
156 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "Process32Next" )); in _Process32Next()
159 if ( lpProc ) in _Process32Next()
160 fSuccess = lpProc( hSnapshot, lppe32 ); in _Process32Next()
202 static FN_PROC lpProc = NULL; in _GetModuleFileNameExA() local
204 if ( !lpProc ) in _GetModuleFileNameExA()
209 lpProc = reinterpret_cast< FN_PROC >(GetProcAddress( hLibrary, "GetModuleFileNameExA" )); in _GetModuleFileNameExA()
212 if ( lpProc ) in _GetModuleFileNameExA()
213 return lpProc( hProcess, hModule, lpFileName, nSize ); in _GetModuleFileNameExA()