msiPreviewBillboardA 函数 (msiquery.h)

MsiPreviewBillboard 函数在显示的对话框中显示具有主机控件的广告牌。

语法

UINT MsiPreviewBillboardA(
  [in] MSIHANDLE hPreview,
  [in] LPCSTR    szControlName,
  [in] LPCSTR    szBillboard
);

参数

[in] hPreview

预览的句柄。

[in] szControlName

指定主机控件的名称。

[in] szBillboard

指定要显示的广告牌的名称。

返回值

此函数返回 UINT。

注解

MsiPreviewBillboard 函数中提供空广告牌名称会删除显示的任何广告牌。

注意

msiquery.h 标头将 MsiPreviewBillboard 定义为别名,该别名根据 UNICODE 预处理器常量的定义自动选择此函数的 ANSI 或 Unicode 版本。 将非特定编码别名的使用与非非特定编码的代码混合使用可能会导致不匹配,从而导致编译或运行时错误。 有关详细信息,请参阅 函数原型的约定

要求

要求
最低受支持的客户端 Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer
目标平台 Windows
标头 msiquery.h
Library Msi.lib
DLL Msi.dll

另请参阅

用户界面函数