Desktop Functions: Smart Device Functions:
|
Search Results for "SetupCopyOEMInf" in [All]setupapi
public static extern bool SetupCopyOEMInf(
Declare Function SetupCopyOEMInf Lib "setupapi.dll" (TODO) As TODO
SP_COPY_OEMINF_CATALOG_ONLY = 0x0040000, // (SetupCopyOEMInf only) don't copy INF--just catalog The SetupCopyOEMInf function copies a specified INF file to the /Inf directory. BOOL WINAPI SetupCopyOEMInf( [out, optional] Pointer to a buffer to receive the INF file name assigned to it at the time it was copied to the INF directory. The buffer, if specified, should typically be MAX_PATH in length. If the SP_COPY_NOOVERWRITE flag is specified and the SetupCopyOEMInf function fails with a return code of ERROR_FILE_EXISTS, this buffer will contain the name of the existing INF file. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, this buffer will contain the destination INF filename if the INF file is already present in the INF directory. Otherwise, this buffer will be set to the empty string. This parameter can be NULL. The SetupCopyOEMInf function succeeded. The SetupCopyOEMInf function failed. For extended error information, call GetLastError. The SetupCopyOEMInf function copies a specified INF file into the \Inf directory. SetupCopyOEMInf does not recopy the file if it finds that a binary image of the specified INF file already exists in the INF directory with the same name or a name of the form OEM*.INF. When SetupCopyOEMInf copies a file, it renames the copied file to OEM*.INF. Name provided is unique and cannot be predicted. SetupCopyOEMInf uses the following procedure to determine if the INF file already exists in the INF directory: |