Lines Matching refs:fFlags
148 DECLHIDDEN(int) rtR3InitNativeFirst(uint32_t fFlags) { return VINF_SUCCESS; }
149 DECLHIDDEN(int) rtR3InitNativeFinal(uint32_t fFlags) { return VINF_SUCCESS; }
254 * @param fFlags Flags, see RTR3INIT_XXX.
259 static int rtR3InitArgv(uint32_t fFlags, int cArgs, char ***ppapszArgs)
261 NOREF(fFlags);
280 if (!(fFlags & RTR3INIT_FLAGS_UTF8_ARGV))
371 static int rtR3InitBody(uint32_t fFlags, int cArgs, char ***papszArgs, const char *pszProgramPath)
376 int rc = rtR3InitNativeFirst(fFlags);
404 g_fInitFlags |= fFlags;
433 if (fFlags & RTR3INIT_FLAGS_SUPLIB)
450 rc = rtR3InitArgv(fFlags, cArgs, papszArgs);
458 if ((fFlags & RTR3INIT_FLAGS_SUPLIB) && g_pSUPGlobalInfoPage)
534 rc = rtR3InitNativeFinal(fFlags);
545 * @param fFlags Flags, see RTR3INIT_XXX.
552 static int rtR3Init(uint32_t fFlags, int cArgs, char ***papszArgs, const char *pszProgramPath)
555 Assert(!(fFlags & ~( RTR3INIT_FLAGS_DLL
559 Assert(!(fFlags & RTR3INIT_FLAGS_DLL) || cArgs == 0);
573 if (fFlags & RTR3INIT_FLAGS_SUPLIB)
580 if ( !(fFlags & RTR3INIT_FLAGS_UNOBTRUSIVE)
592 rc = rtR3InitArgv(fFlags, cArgs, papszArgs);
600 int rc = rtR3InitBody(fFlags, cArgs, papszArgs, pszProgramPath);
616 RTR3DECL(int) RTR3InitExe(int cArgs, char ***papszArgs, uint32_t fFlags)
618 Assert(!(fFlags & RTR3INIT_FLAGS_DLL));
619 return rtR3Init(fFlags, cArgs, papszArgs, NULL);
623 RTR3DECL(int) RTR3InitExeNoArguments(uint32_t fFlags)
625 Assert(!(fFlags & RTR3INIT_FLAGS_DLL));
626 return rtR3Init(fFlags, 0, NULL, NULL);
630 RTR3DECL(int) RTR3InitDll(uint32_t fFlags)
632 Assert(!(fFlags & RTR3INIT_FLAGS_DLL));
633 return rtR3Init(fFlags | RTR3INIT_FLAGS_DLL, 0, NULL, NULL);
637 RTR3DECL(int) RTR3InitEx(uint32_t iVersion, uint32_t fFlags, int cArgs, char ***papszArgs, const char *pszProgramPath)
640 return rtR3Init(fFlags, cArgs, papszArgs, pszProgramPath);