>>Thank you.How do u know about this value of these variable??
>>Is there any way to get the function included in .dll file and the parameter needed for these function?? How to display shutdown dialog box??
>
>Hi John,
>
>I have access to the Win32 SDK. This documents all the functions and includes information regarding the Windows defined constants, some of which are the values we're talking about. I can't recall off the top of my head if the dialog displays or not, but I don't think so. I'll take a look and see if I can find out for sure.
>
By design, the dialog does not display - the API call invokes the desired termination mode directly. The best way to display a dialog from inside of VFP is to do a form, and after the user makes his selection, close down everything and invoke ExitWindowsEx() with the appropriate parameters.