Programming Guide



sm_mw_get_prev_instance

Gets a handle to the previous instance of a Windows program

#include <smmwuser.h>
HINSTANCE sm_mw_get_prev_instance(void);

Environment

Windows

Returns

Description

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.