HRESULT CApp::Init(int nShowCmd, _ATL_OBJMAP_ENTRY* p, HINSTANCE h, GUID* plibid = NULL)
Initialize the application
Defined in: Application.h
Return Value
S_OK if the application initialized
Parameters
nShowCmd
Integer from the SW_XXX enumeration indicating how to show the window
p
pointer to ATL object map
h
Instance handle for the application
plibid = NULL
pointer to the type library ID