INF 檔案處理函式提供安裝和安裝功能,包括下列項目:
開啟和關閉 INF 檔案。
擷取 INF 檔案的相關資訊。
擷取來源檔案和目標目錄的相關資訊,以進行複製作業。
執行 INF 檔案區段中指定的安裝動作。
下表列出用來處理 INF 檔案的函式。 如需詳細的函式描述,請參閱 Microsoft Windows SDK 檔。
| Function | Description |
|---|---|
在指定的 INF 檔案中執行指定的區段。 |
|
釋放資源並關閉 INF 句柄。 |
|
Stages a driver package in the Driver Store. |
|
複製檔案,並視需要解壓縮。 |
|
尋找 INF 檔案區段中第一行的指標,或如果指定索引鍵,則尋找符合索引鍵的第一行指標。 |
|
傳回 INF 檔案區段中下一行的指標。 |
|
傳回 INF 檔案區段中下一行的指標,或傳回符合索引鍵的下一行指標。 |
|
從 INF 檔案中指定行中的欄位擷取二進位資料。 |
|
傳回一行中的欄位數目。 |
|
從 INF 檔案擷取檔案壓縮資訊。 |
|
Retrieves the fully qualified file name (directory path and file name) of an INF file in the Driver Store that corresponds to a specified INF file in the system INF file directory or a specified INF file in the driver store. |
|
傳回指定目錄中的 INF 檔案清單。 |
|
傳回 INF 檔案的相關資訊。 |
|
取得 INF 檔案中指定行中指定欄位的整數值。 |
|
Retrieves the fully qualified name (directory path and file name) of an INF file in the system INF file directory that corresponds to a specified INF file in the system INF file directory or a specified INF file in the Driver Store. |
|
傳回與指定區段中指定索引值相關聯之行的指標。 |
|
傳回指定區段中的行數。 |
|
從 INF 檔案擷取指定行的內容。 |
|
傳回多個字串,從一行中的指定欄位開始。 |
|
傳回 INF 檔案中列出的來源檔案位置。 |
|
傳回指定檔案的大小,或 INF 檔案指定區段中列出的一組檔案。 |
|
擷取來源的路徑、標記檔案或描述。 |
|
從 INF 檔案中指定行中的欄位擷取字串資料。 |
|
判斷指定 INF 檔案區段中所列檔案的目標路徑。 |
|
將指定的檔案安裝到特定的目標目錄中。 |
|
將指定的檔案安裝到特定的目標目錄中。 如果檔案的現有版本正在使用中,則安裝會延遲。 |
|
將指定 INF 檔案區段中的檔案排入佇列以進行複製。 (Same as SetupQueueCopySection.) |
|
Performs the directives specified in an INF DDInstall section. |
|
Performs service installation and deletion operations as specified in an INF DDInstall.Services section. |
|
開啟 INF 檔案,並將它附加至現有的 INF 控制碼。 |
|
開啟 INF 檔案,並傳回它的句柄。 |
|
開啟主要 INF 檔案,其中包含作業系統預設安裝所包含之檔案的檔案和配置資訊。 |
|
傳回指定 INF 檔案其中一個組成 INF 檔案的名稱。 |
|
傳回指定 INF 檔案其中一個組成 INF 檔案的版本號碼。 |
|
將目錄 ID (DIRID) 指派給指定的目錄。 |
|
Uninstalls a specified INF file, and deletes the associated .pnf and .cat files, if they exist. |
|
確認尚未修改數位簽署的 INF 檔案。 (Windows XP 及更新版本。 |