• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ GetProc函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中GetProc函数的典型用法代码示例。如果您正苦于以下问题:C++ GetProc函数的具体用法?C++ GetProc怎么用?C++ GetProc使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了GetProc函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: CloseThemeData

HRESULT CVisualStylesXP::CloseThemeData(HTHEME hTheme)
{
	static PFNCLOSETHEMEDATA pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNCLOSETHEMEDATA)GetProc("CloseThemeData", (void*)CloseThemeDataFail);
	return (*pfn)(hTheme);
}
开发者ID:GChristensen,项目名称:foo_uie_explorer_mod,代码行数:7,代码来源:VisualStylesXP.cpp


示例2: IsThemeDialogTextureEnabled

BOOL CVisualStylesXP::IsThemeDialogTextureEnabled(HWND hwnd)
{
	static PFNISTHEMEDIALOGTEXTUREENABLED pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNISTHEMEDIALOGTEXTUREENABLED)GetProc("IsThemeDialogTextureEnabled", (void*)IsThemeDialogTextureEnabledFail);
	return (*pfn)(hwnd);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例3: SetThemeAppProperties

void CVisualStylesXP::SetThemeAppProperties(DWORD dwFlags)
{
	static PFNSETTHEMEAPPPROPERTIES pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNSETTHEMEAPPPROPERTIES)GetProc("SetThemeAppProperties", (void*)SetThemeAppPropertiesFail);
	(*pfn)(dwFlags);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例4: IsThemeActive

BOOL CVisualStylesXP::IsThemeActive()
{
	static PFNISTHEMEACTIVE pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNISTHEMEACTIVE)GetProc("IsThemeActive", (void*)IsThemeActiveFail);
	return (*pfn)();
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例5: GetWindowTheme

HTHEME CVisualStylesXP::GetWindowTheme(HWND hwnd)
{
	static PFNGETWINDOWTHEME pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETWINDOWTHEME)GetProc("GetWindowTheme", (void*)GetWindowThemeFail);
	return (*pfn)(hwnd);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例6: GetThemeSysSize

int CVisualStylesXP::GetThemeSysSize(HTHEME hTheme, int iSizeId)
{
	static PFNGETTHEMESYSSIZE pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMESYSSIZE)GetProc("GetThemeSysSize", (void*)GetThemeSysSizeFail);
	return (*pfn)(hTheme, iSizeId);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例7: GetThemeSysString

HRESULT CVisualStylesXP::GetThemeSysString(HTHEME hTheme, int iStringId, LPWSTR pszStringBuff, int cchMaxStringChars)
{
	static PFNGETTHEMESYSSTRING pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMESYSSTRING)GetProc("GetThemeSysString", (void*)GetThemeSysStringFail);
	return (*pfn)(hTheme, iStringId, pszStringBuff, cchMaxStringChars);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例8: GetThemeBool

HRESULT CVisualStylesXP::GetThemeBool(HTHEME hTheme, int iPartId, int iStateId, int iPropId, BOOL *pfVal)
{
	static PFNGETTHEMEBOOL pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEBOOL)GetProc("GetThemeBool", (void*)GetThemeBoolFail);
	return (*pfn)(hTheme, iPartId, iStateId, iPropId, pfVal);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例9: GetThemeInt

HRESULT CVisualStylesXP::GetThemeInt(HTHEME hTheme, int iPartId, int iStateId, int iPropId, int *piVal)
{
	static PFNGETTHEMEINT pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEINT)GetProc("GetThemeInt", (void*)GetThemeIntFail);
	return (*pfn)(hTheme, iPartId, iStateId, iPropId, piVal);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例10: GetThemeColor

HRESULT CVisualStylesXP::GetThemeColor(HTHEME hTheme, int iPartId, int iStateId, int iPropId, COLORREF *pColor)
{
	static PFNGETTHEMECOLOR pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMECOLOR)GetProc("GetThemeColor", (void*)GetThemeColorFail);
	return (*pfn)(hTheme, iPartId, iStateId, iPropId, pColor);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例11: GetThemeMetric

HRESULT CVisualStylesXP::GetThemeMetric(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, int *piVal)
{
	static PFNGETTHEMEMETRIC pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEMETRIC)GetProc("GetThemeMetric", (void*)GetThemeMetricFail);
	return (*pfn)(hTheme, hdc, iPartId, iStateId, iPropId, piVal);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例12: IsThemeBackgroundPartiallyTransparent

BOOL CVisualStylesXP::IsThemeBackgroundPartiallyTransparent(HTHEME hTheme, int iPartId, int iStateId)
{
	static PFNISTHEMEBACKGROUNDPARTIALLYTRANSPARENT pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNISTHEMEBACKGROUNDPARTIALLYTRANSPARENT)GetProc("IsThemeBackgroundPartiallyTransparent", (void*)IsThemeBackgroundPartiallyTransparentFail);
	return (*pfn)(hTheme, iPartId, iStateId);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例13: IsThemePartDefined

BOOL CVisualStylesXP::IsThemePartDefined(HTHEME hTheme, int iPartId, int iStateId)
{
	static PFNISTHEMEPARTDEFINED pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNISTHEMEPARTDEFINED)GetProc("IsThemePartDefined", (void*)IsThemePartDefinedFail);
	return (*pfn)(hTheme, iPartId, iStateId);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例14: GetThemeTextMetrics

HRESULT CVisualStylesXP::GetThemeTextMetrics(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, TEXTMETRIC* ptm)
{
	static PFNGETTHEMETEXTMETRICS pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMETEXTMETRICS)GetProc("GetThemeTextMetrics", (void*)GetThemeTextMetricsFail);
	return (*pfn)(hTheme, hdc, iPartId, iStateId, ptm);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例15: GetThemeSysColorBrush

HBRUSH CVisualStylesXP::GetThemeSysColorBrush(HTHEME hTheme, int iColorId)
{
	static PFNGETTHEMESYSCOLORBRUSH pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMESYSCOLORBRUSH)GetProc("GetThemeSysColorBrush", (void*)GetThemeSysColorBrushFail);
	return (*pfn)(hTheme, iColorId);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例16: GetThemeEnumValue

HRESULT CVisualStylesXP::GetThemeEnumValue(HTHEME hTheme, int iPartId, int iStateId, int iPropId, int *piVal)
{
	static PFNGETTHEMEENUMVALUE pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEENUMVALUE)GetProc("GetThemeEnumValue", (void*)GetThemeEnumValueFail);
	return (*pfn)(hTheme, iPartId, iStateId, iPropId, piVal);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例17: GetThemeSysBool

BOOL CVisualStylesXP::GetThemeSysBool(HTHEME hTheme, int iBoolId)
{
	static PFNGETTHEMESYSBOOL pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMESYSBOOL)GetProc("GetThemeSysBool", (void*)GetThemeSysBoolFail);
	return (*pfn)(hTheme, iBoolId);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例18: GetThemePosition

HRESULT CVisualStylesXP::GetThemePosition(HTHEME hTheme, int iPartId, int iStateId, int iPropId, POINT *pPoint)
{
	static PFNGETTHEMEPOSITION pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEPOSITION)GetProc("GetThemePosition", (void*)GetThemePositionFail);
	return (*pfn)(hTheme, iPartId, iStateId, iPropId, pPoint);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例19: GetThemeSysFont

HRESULT CVisualStylesXP::GetThemeSysFont(HTHEME hTheme, int iFontId, LOGFONT *plf)
{
	static PFNGETTHEMESYSFONT pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMESYSFONT)GetProc("GetThemeSysFont", (void*)GetThemeSysFontFail);
	return (*pfn)(hTheme, iFontId, plf);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp


示例20: GetThemeFont

HRESULT CVisualStylesXP::GetThemeFont(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, LOGFONT *pFont)
{
	static PFNGETTHEMEFONT pfn = NULL;
	if (pfn == NULL)
		pfn = (PFNGETTHEMEFONT)GetProc("GetThemeFont", (void*)GetThemeFontFail);
	return (*pfn)(hTheme, hdc, iPartId, iStateId, iPropId, pFont);
}
开发者ID:litaobj,项目名称:easymule,代码行数:7,代码来源:VisualStylesXP.cpp



注:本文中的GetProc函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ GetProcAddress函数代码示例发布时间:2022-05-30
下一篇:
C++ GetPrivateProfileStringW函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap