name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5572165936844014&dt=1193665761703&lmt=1193665780&format=336x280_as&output=html&correlator=1193665761687&url=http%3A%2F%2Fwww.codeguru.cn%2Fpublic%2Fiframe%2Fwinapiiframe.htm&color_bg=FFFFFF&color_text=000000&color_link=000000&color_url=FFFFFF&color_border=FFFFFF&ad_type=text&ga_vid=1285758818.1193665762&ga_sid=1193665762&ga_hid=111695597&flash=9&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=32&u_tz=480&u_his=8&u_java=true" frameborder="0" width="336" scrolling="no" height="280" allowtransparency="allowtransparency">
函数功能:该函数是由应用程序定义的,与函数EnumChildWindows一起使用的回调函数。它接收子窗口句柄。类型WNDENUMPROC定义了一个指向回调函数的指针。EnumChildProc是一个应用程序定义的函数名的位置标志符。
函数原型:BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM ItParam);
参数:
hwnd:指向在EnumChildWindows中指定的父窗口的子窗口句柄。
Lparam:指定在EnumChildWindows函数给出的应用程序定义值。
返回值:为继续枚举,回调函数必须返回TRUE;为停止枚举,回调函数必须返回FALSE。
备注:回调函数可以执行任何要求的任务。
应用程序必须通过将其地址传送给EnumChildWindows函数来注册这个回user.h;库文件:用户自定义。
函数原型:BOOL CALLBACK EnumChildProc(HWND hwnd,LPARAM ItParam);
参数:
hwnd:指向在EnumChildWindows中指定的父窗口的子窗口句柄。
Lparam:指定在EnumChildWindows函数给出的应用程序定义值。
返回值:为继续枚举,回调函数必须返回TRUE;为停止枚举,回调函数必须返回FALSE。
备注:回调函数可以执行任何要求的任务。
应用程序必须通过将其地址传送给EnumChildWindows函数来注册这个回user.h;库文件:用户自定义。