GetStartupInfo

Windows API函式。 該函式取得進程在啟動時被指定的 STARTUPINFO 結構。

基本介紹

  • 中文名:GetStartupInfo
  • 庫檔案: kernel32.lib
  • Windows CE: 不支持
  • 頭檔案: winbase.h.
概述,GetStartupInfoA,

概述

GetStartupInfo 函式取得在進程啟動時被指定的STARTUPINFO 結構
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.
一個指向用來存放要獲取的 STARTUPINFO 結構的指針。
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.
該STARTUPINFO結構由當前進程的父進程指定。它可用於指定在當前進程的主視窗的相關屬性。
QuickInfo
Windows NT: 要求3.1或更高版本
Windows: 要求windows 95或更高版本
Windows CE: 不支持。
頭檔案 winbase.h.
庫檔案 kernel32.lib
Unicode 在Windows NT上有Unicode 和 ANSI 兩個版本

GetStartupInfoA

VB聲明
Declare Sub GetStartupInfo Lib "kernel32" Alias "GetStartupInfoA" (lpStartupInfo As STARTUPINFO)
說明 獲取一個進程的啟動信息
參數表 參數 類型及說明 lpStartupInfo STARTUPINFO,指定一個STARTUPINFO結構,用於最終載入進程的啟動信息
易語言聲明
.版本 2
.DLL命令 GetStartupInfoA, 整數型, "kernel32", "GetStartupInfoA", , 獲取啟動信息
.參數 lpStartupInfo, STARTUPINFO, 傳址, 啟動信息

相關詞條

熱門詞條

聯絡我們