GetStartupInfo
GetStartupInfo
The GetStartupInfo function retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.
VOID GetStartupInfo(
LPSTARTUPINFO lpStartupInfo // address of STARTUPINFO structure
);
Parameters
lpStartupInfo
Pointer to a STARTUPINFO structure that is filled in by the function.
Return Values
This function does not return a value.
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.
QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Import Library: Use kernel32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
中文翻译:
GetStartupInfo
函数功能描述:该函数返回进程在启动时被指定的 STARTUPINFO 结构
VOID GetStartupInfo(
LPSTARTUPINFO lpStartupInfo
);
参数
lpStartupInfo
用来存放要获取的 STARTUPINFO 结构
返回值
该函数没有返回值
STARTUPINFO 结构由当前进程的父进程指定,它能够用于指定当前进程主窗口的属性。
Windows NT: 要求3.1或更高版本
Windows: 要求windows 95或更高版本
Windows CE: 不支持。
头文件 winbase.h.
库文件 kernel32.lib
Unicode 在Windows NT上有Unicode 和 ANSI 两个版本