GetStartupInfoW function (processthreadsapi.h)

Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.

Syntax

void GetStartupInfoW(
  [out] LPSTARTUPINFOW lpStartupInfo
);

Parameters

[out] lpStartupInfo

A pointer to a STARTUPINFO structure that receives the startup information.

Return value

None

Remarks

The STARTUPINFO structure was specified by the process that created the calling process. It can be used to specify properties associated with the main window of the calling process.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header processthreadsapi.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

CreateProcess

Process and Thread Functions

Processes

STARTUPINFO