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.
136 lines
1.6 KiB
136 lines
1.6 KiB
#include "shellpch.h"
|
|
#pragma hdrstop
|
|
|
|
#define _COMDLG32_
|
|
#include <commdlg.h>
|
|
|
|
static
|
|
DWORD
|
|
APIENTRY
|
|
CommDlgExtendedError(VOID)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static
|
|
SHORT
|
|
APIENTRY
|
|
GetFileTitleW (
|
|
LPCWSTR lpszFileW,
|
|
LPWSTR lpszTitleW,
|
|
WORD cbBuf
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
GetOpenFileNameW (
|
|
LPOPENFILENAMEW pofn
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
GetOpenFileNameA (
|
|
LPOPENFILENAMEA pofn
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
WINAPI
|
|
GetSaveFileNameW (
|
|
LPOPENFILENAMEW pofn
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
WINAPI
|
|
GetSaveFileNameA (
|
|
LPOPENFILENAMEA pofn
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
ChooseColorW(
|
|
LPCHOOSECOLORW pccw
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
PageSetupDlgW(
|
|
LPPAGESETUPDLGW pPSDA
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
PageSetupDlgA(
|
|
LPPAGESETUPDLGA pPSDA
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
PrintDlgA(
|
|
LPPRINTDLGA pPDA
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
static
|
|
BOOL
|
|
APIENTRY
|
|
PrintDlgW(
|
|
LPPRINTDLGW pPDA
|
|
)
|
|
{
|
|
return FALSE;
|
|
}
|
|
|
|
|
|
//
|
|
// !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
|
|
//
|
|
DEFINE_PROCNAME_ENTRIES(comdlg32)
|
|
{
|
|
DLPENTRY(ChooseColorW)
|
|
DLPENTRY(CommDlgExtendedError)
|
|
DLPENTRY(GetFileTitleW)
|
|
DLPENTRY(GetOpenFileNameA)
|
|
DLPENTRY(GetOpenFileNameW)
|
|
DLPENTRY(GetSaveFileNameA)
|
|
DLPENTRY(GetSaveFileNameW)
|
|
DLPENTRY(PageSetupDlgA)
|
|
DLPENTRY(PageSetupDlgW)
|
|
DLPENTRY(PrintDlgA)
|
|
DLPENTRY(PrintDlgW)
|
|
};
|
|
|
|
DEFINE_PROCNAME_MAP(comdlg32)
|