Leaked source code of windows server 2003
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.
 
 
 
 
 
 

43 lines
908 B

#pragma once
// Get the public delay load stub definitions.
//
#include <dloaddef.h>
// 'B' for both
// 'P' for procname only
// 'O' for ordinal only
//
#define DLDENTRYB(_dllbasename) \
{ #_dllbasename".dll", \
&c_Pmap_##_dllbasename, \
&c_Omap_##_dllbasename },
#define DLDENTRYB_DRV(_dllbasename) \
{ #_dllbasename".drv", \
&c_Pmap_##_dllbasename, \
&c_Omap_##_dllbasename },
#define DLDENTRYP(_dllbasename) \
{ #_dllbasename".dll", \
&c_Pmap_##_dllbasename, \
NULL },
#define DLDENTRYP_DRV(_dllbasename) \
{ #_dllbasename".drv", \
&c_Pmap_##_dllbasename, \
NULL },
#define DLDENTRYO(_dllbasename) \
{ #_dllbasename".dll", \
NULL, \
&c_Omap_##_dllbasename },
extern const DLOAD_DLL_MAP g_DllMap;
FARPROC
LookupHandler (
LPCSTR pszDllName,
LPCSTR pszProcName
);