Programming Guide |
Gets a handle to the previous instance of a Windows program
#include <smmwuser.h>HINSTANCE sm_mw_get_prev_instance(void);
Windows
- · A handle to the application's previous instance.
- ·
NULL
if there is no current instance. For WIN32 this value is alwaysNULL
.
sm_mw_get_prev_instance
gets a handle to the previous instance of a Windows application. Use this function to supply the handle required by Windows API routines such as CreateWindow.