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.
 
 
 
 
 
 

57 lines
957 B

#include "inetcorepch.h"
#pragma hdrstop
#include <advpub.h>
static
HRESULT
WINAPI
RunSetupCommand(
HWND hWnd,
LPCSTR szCmdName,
LPCSTR szInfSection,
LPCSTR szDir,
LPCSTR lpszTitle,
HANDLE *phEXE,
DWORD dwFlags,
LPVOID pvReserved
)
{
return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
}
static
HRESULT
WINAPI
RegInstall(
HMODULE hm,
LPCSTR pszSection,
LPCSTRTABLE pstTable)
{
return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
}
static
BOOL
WINAPI
IsNTAdmin(
DWORD dwReserved,
DWORD *lpdwReserved
)
{
// default to being more secure
return FALSE;
}
//
// !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
//
DEFINE_PROCNAME_ENTRIES(advpack)
{
DLPENTRY(IsNTAdmin)
DLPENTRY(RegInstall)
DLPENTRY(RunSetupCommand)
};
DEFINE_PROCNAME_MAP(advpack)