Programming Guide



sm_mw_get_instance

Gets a handle to the current instance of a Windows program

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

Environment

Windows C

Returns

Description

sm_mw_get_instance gets a handle to the current instance of a Windows application. Use this function to supply the handle required by Windows API routines such as CreateWindow.