Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 135 of file logonui.c.
{ LPWSTR *lpArgs; INT NumArgs; /* Allocate memory for the data */ g_pInfo = (PINFO)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(INFO)); if (!g_pInfo) return -1; g_pInfo->hInstance = hInst; /* Get the command line args */ lpArgs = CommandLineToArgvW(lpszCmdLine, &NumArgs); if (lpArgs) { /* Parse the command line */ if (ParseCmdline(NumArgs, lpArgs)) { /* Start the main routine */ Run(); } } /* Free the data */ HeapFree(GetProcessHeap(), 0, g_pInfo); return 0; }