GetStartupInfo (kernel32)
Last changed: Wade Spital-135.180.201.213

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern void GetStartupInfo(out STARTUPINFO lpStartupInfo);

VB Signature:

Declare Sub GetStartupInfo Lib "kernel32.dll" (<Out> ByRef _
   lpStartupInfo As STARTUPINFO)

User-Defined Types:

STARTUPINFO

Notes:

Be sure to use a definition of STARTUPINFO where the three string fields are defined as IntPtr. That's because GetStartupInfo allocates the memory for the strings and does not expect it to ever be freed. See more information in the Notes section of the STARTUPINFO page.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation