mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
#include "precomp.hxx"
|
|
#include "util.h"
|
|
|
|
#include "..\..\inc\dllload.c"
|
|
|
|
/**********************************************************************/
|
|
/**********************************************************************/
|
|
|
|
// ---------- CSCDLL.DLL ------------
|
|
|
|
HINSTANCE g_hinstCSCDLL = NULL;
|
|
|
|
DELAY_LOAD_BOOL(g_hinstCSCDLL, CSCDLL, CSCQueryFileStatus,
|
|
(LPCTSTR lpszFileName, LPDWORD lpdwStatus, LPDWORD lpdwPinCount, LPDWORD lpdwHintFlags),
|
|
(lpszFileName, lpdwStatus, lpdwPinCount, lpdwHintFlags));
|
|
|
|
|
|
// ---------- CSCUI.DLL ------------
|
|
|
|
HINSTANCE g_hinstCSCUI = NULL;
|
|
|
|
DELAY_LOAD_HRESULT(g_hinstCSCUI, CSCUI, CSCUIRemoveFolderFromCache,
|
|
(LPCWSTR pszFolder, DWORD dwReserved, PFN_CSCUIRemoveFolderCallback pfnCB, LPARAM lParam),
|
|
(pszFolder, dwReserved, pfnCB, lParam));
|
|
|
|
|
|
// ---------- MPR.DLL --------------
|
|
|
|
HINSTANCE g_hinstMPR = NULL;
|
|
|
|
DELAY_LOAD_ERR(g_hinstMPR, MPR, DWORD, WNetGetUniversalName,
|
|
(LPCTSTR lpLocalPath, DWORD dwInfoLevel, LPVOID lpBuffer, LPDWORD lpBufferSize),
|
|
(lpLocalPath, dwInfoLevel, lpBuffer, lpBufferSize),
|
|
ERROR_NOT_CONNECTED);
|