b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

translatemessage_dispacthmessage函数_windows createfile(11)

电脑杂谈  发布时间:2017-05-28 09:01:44  来源:网络整理

hWnd

[in] Handle to the window whose messages are to be examined.

wMsgFilterMin

[in] Specifies the value of the first message in the range of messages to be examined.

wMsgFilterMax

[in] Specifies the value of the last message in the range of messages to be examined.

wRemoveMsg

[in] Specifies how messages are handled. This parameter can be one of the following values.

ValueDescription

PM_NOREMOVEMessages are not removed from the queue after processing by PeekMessage.

PM_REMOVEMessages are removed from the queue after processing by PeekMessage. An exception is WM_PAINT messages, which are not removed from the queue.

You can optionally combine the value PM_NOYIELD with either PM_NOREMOVE or PM_REMOVE. This flag prevents the system from releasing any thread that is waiting for the caller to go idle.

Return Values

Nonzero indicates success. Zero indicates failure.

Remarks

Unlike the GetMessage function, the PeekMessage function does not wait for a message to be placed in the queue

before returning.

PeekMessage retrieves only messages associated with the window identified by the hWnd parameter or any of its children as specified by the IsChild function,

and within the range of message values given by the wMsgFilterMin and wMsgFilterMax parameters. If hWnd is NULL, PeekMessage retrieves messages for any window that belongs to the current thread making the call. (PeekMessage does

not retrieve messages for windows that belong to other threads.) If hWnd is –1, PeekMessage only returns messages with a hWnd value of NULL, as posted by thePostThreadMessage function.


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-49688-11.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...