[[ header START ]]

Welcome to OS2.GURU site! (eComStation.RU)

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:
telegram

Форум обсуждение

telegram

Send message

telegram

[ +7-981-8529467 (Санкт-Петербург)

telegram

t.me/os2_guru

eComStation.RU


ru · en · de · es · it · pt · cz · pl · fr
OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
 
[What is OS/2?  News  Install  Update  
 
 
Usage  Future  Community  Projects  

How to buy
russian OS/2 apps?

The concept of
OS/2 development

(Map of the site)

 
 
[[ head-3-search ]]

Database of OS/2 compatible hardware

[[ head-3-search END ]]

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

eCo Software Developer Connection


About DevCon
Subscription to DevCon
Budget of DevCon
FAQ


Roadmap
eCo Software runtime
eCo Software toolkit
Contacts

  You can sponsor the development of the libraries,
control the expenses

WinCancelShutdown

function cancels a request for an application to [[shutdown|shut down]].

#define INCL_WINMESSAGEMGR /* Or use INCL_WIN, INCL_PM, Also in COMMON section */
#include 

HMQ     hmq;            /*  Handle of message queue for current thread. */
BOOL    fCancelAlways;  /*  Cancellation control. */
BOOL    rc;             /*  Success indicator. */

rc = WinCancelShutdown(hmq, fCancelAlways);

Parameters

hmq (HMQ) - input. Handle of message queue for current thread. 
fCancelAlways (BOOL) - input. Cancellation control. 
  TRUE   No WM_QUIT message should be placed on this queue during system shutdown. 
  FALSE  The applications ignore any outstanding WM_QUIT messages already sent to it, but a message should be sent during other system shutdowns. 

Returns

 rc (BOOL) Success indicator. 
    TRUE  Successful completion 
    FALSE  Error occurred. 

Notes

On a system shutdown, each message queue is normally posted a WM_QUIT message. An application can handle this message in one of two ways:

  • Destroy its message queue using [[WinDestroyMsgQueue]] (hmq) or,
  • Call [[WinCancelShutdown]](hmq, FALSE)
Either way the system can proceed to the next queue. If the application determines that it never wants a message queue to receive a [[WM_QUIT]] message as a result of a system shutdown, it should call WinCancelShutdown (hmq, TRUE), typically right after creating the message queue.

 

 
For dummies

Report: OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2021 eCo Software, All rights reserved
Сибирский Медведь технологическая компания
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae