GetStartupInfoW function (processthreadsapi.h)
Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.
void GetStartupInfoW( LPSTARTUPINFOW lpStartupInfo );
A pointer to a STARTUPINFO structure that receives the startup information.
This function does not return a value.
If an error occurs, the ANSI version of this function (GetStartupInfoA) can raise an exception. The Unicode version (GetStartupInfoW) does not fail.
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.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||processthreadsapi.h (include Windows.h)|