CreateInstance
ret = LeashUICommandHandler::CreateInstance(&app->commandHandler, hwnd);
static HRESULT CreateInstance(IUIApplication **out, HWND hwnd);
static HRESULT CreateInstance(IUICommandHandler **out, HWND hwnd);
hr = LeashUIApplication::CreateInstance(&pApplication, hwnd);