未分类--Windows API--CPlApplet

150 篇文章 0 订阅
31 篇文章 0 订阅

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

Platform Builder for Microsoft Windows CE 5.0   

CPlApplet
This function is a library-defined callback function that serves as the entry point for a Control Panel application.
这个函数是一个在库中定义的回调函数为控制面板的入口点程序服务。
Syntax
LONG CPlApplet(
  HWND hwndCPl,
  UINT msg,
  LPARAM lParam1,
  LPARAM lParam2
);
Parameters
hwndCPl
[in] Handle to the main window of the controlling application.
处理控制应用程序的主窗体。
Use the hwndCPl parameter for other applications or windows that require a handle to a parent window.
使用hwndCPl参数为其他应用程序或窗口,需要一个处理到父窗口。
msg
[in] Message being sent to the Control Panel application.
消息被发送到控制面板应用程序。
lParam1
[in] Additional message-specific information.
附加指定消息信的信息。
lParam2
[in] Additional message-specific information
附加指定消息信的信息。
Return Values
The return value depends on the message.
这个返回值依赖消息。
Windows Mobile Remarks
The CPlApplet function is an application-defined callback function that serves as the entry point for a Control Panel application.
这个CPlApplet函数是一个在应用程序中定义的回调函数为控制面板的入口点程序服务。
The APPLET_PROC type defines a pointer to this callback function.
这个APPLET_PROC类型定义一个指针指向这个回调函数。
When the Control Panel starts, it loads all DLL files that have a .cpl file name extension (such as MyApplet.cpl) in the Windows folder.
当这个控制面板启动时,它加载所有的DLL文件它有.cpl扩展名的(例如MyApplet.cpl)在Windows文件夹中。
The Control Panel calls the CPlApplet function that was implemented and exported in each CPL file.
这个控制面板调用CPlApplet函数它实现并且导入每个CPL文件。
The CPlApplet function must properly handle any of the control panel messages that are sent to it programmatically or via calls from the Control Panel.
这个CPlApplet函数必须正确的处理任何一个控制面板消息,它是发送它的编程方式或通过调用从控制面板中。
If more than one Control Panel application is implemented in a .cpl file, a single CPlApplet function is used for all of the Control Panel applications.
如果有超过一个控制面板应用程序在一个.cpl文件中实现,一个单个的CPlApplet函数被使用为了所有的控制面板应用程序。
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Cpl.h.
Link Library: Developer implemented.

See Also
Standard Shell Functions | CPL_DBLCLK | CPL_EXIT | CPL_GETCOUNT | CPL_INIT | CPL_NEWINQUIRE | CPL_STOP

 


--------------------------------------------------------------------------------

Last updated on Wednesday, September 14, 2005

© 2005 Microsoft Corporation. All rights reserved.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值