MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / ClearPendingNotifications

Method ClearPendingNotifications

src/QueueOperation.cpp:136–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136int QueueOperation::ClearPendingNotifications() {
137 if (!m_hNotify)
138 return -1;
139
140 MSG msg;
141 BOOL res = ::PeekMessage(&msg, m_hNotify, NotifyMessageMIN, NotifyMessageMAX, PM_REMOVE);
142 while(res == TRUE) {
143 res = ::PeekMessage(&msg, m_hNotify, NotifyMessageMIN, NotifyMessageMAX, PM_REMOVE);
144 }
145
146 return 0;
147}
148
149int QueueOperation::SetProgress(float progress) {
150 m_progress = progress;

Callers 1

DeinitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected