ReactOS 0.4.16-dev-197-g92996da
|
Go to the source code of this file.
Classes | |
struct | callback_context |
Variables | |
static const WCHAR | BackSlash [] = {'\\',0} |
static const WCHAR | TranslationRegKey [] = {'\\','V','e','r','F','i','l','e','I','n','f','o','\\','T','r','a','n','s','l','a','t','i','o','n',0} |
static HANDLE | setupact = INVALID_HANDLE_VALUE |
static HANDLE | setuperr = INVALID_HANDLE_VALUE |
static CRITICAL_SECTION | setupapi_cs = { &critsect_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | critsect_debug |
DWORD | GlobalSetupFlags = 0 |
Definition at line 905 of file misc.c.
Definition at line 1640 of file misc.c.
Referenced by SetupDecompressOrCopyFileW().
Definition at line 1582 of file misc.c.
Referenced by SetupDecompressOrCopyFileW().
|
static |
Definition at line 1618 of file misc.c.
Referenced by decompress_file_cab().
Definition at line 482 of file misc.c.
Definition at line 1293 of file misc.c.
Referenced by SetupDecompressOrCopyFileW(), and SetupGetFileCompressionInfoExW().
Definition at line 366 of file misc.c.
|
static |
Definition at line 1373 of file misc.c.
Referenced by get_file_sizes_cab().
BOOL WINAPI FileExists | ( | LPCWSTR | lpFileName, |
LPWIN32_FIND_DATAW | lpFileFindData | ||
) |
Definition at line 502 of file misc.c.
Referenced by SetupInitializeFileLogW().
Definition at line 105 of file misc.c.
Referenced by SetupDiCallClassInstaller().
Definition at line 1389 of file misc.c.
Referenced by SetupGetFileCompressionInfoExW().
Definition at line 1347 of file misc.c.
Referenced by SetupGetFileCompressionInfoExW().
DWORD GetFunctionPointer | ( | IN PWSTR | InstallerName, |
OUT HMODULE * | ModulePointer, | ||
OUT PVOID * | FunctionPointer | ||
) |
Definition at line 44 of file misc.c.
Referenced by SetupDiCallClassInstaller(), and SetupDiGetClassDevPropertySheetsW().
DWORD WINAPI GetSetFileTimestamp | ( | LPCWSTR | lpFileName, |
LPFILETIME | lpCreationTime, | ||
LPFILETIME | lpLastAccessTime, | ||
LPFILETIME | lpLastWriteTime, | ||
BOOLEAN | bSetFileTime | ||
) |
Definition at line 948 of file misc.c.
Definition at line 128 of file misc.c.
Referenced by AddDriverToList(), CheckSectionValid(), CM_Add_ID_ExA(), CM_Connect_MachineA(), CM_Create_DevNode_ExA(), CM_Delete_DevNode_Key_Ex(), CM_Free_Resource_Conflict_Handle(), CM_Get_Device_ID_List_ExA(), CM_Get_Device_ID_List_Size_ExA(), CM_Get_Device_Interface_List_ExA(), CM_Get_Device_Interface_List_Size_ExA(), CM_Get_DevNode_Custom_Property_ExA(), CM_Get_HW_Prof_Flags_ExA(), CM_Locate_DevNode_ExA(), CM_Open_Class_Key_ExA(), CM_Open_DevNode_Key_Ex(), CM_Query_Resource_Conflict_List(), CM_Register_Device_Interface_ExA(), CM_Set_DevNode_Registry_Property_ExA(), CM_Set_HW_Prof_Flags_ExA(), CM_Unregister_Device_Interface_ExA(), DoesUserHavePrivilege(), FixupServiceBinaryPath(), GetDeviceInstanceKeyPath(), GetFunctionPointer(), GetHardwareAndCompatibleIDsLists(), GetStringField(), InfIsFromOEMLocation(), InstallOneService(), profile_items_callback(), pSetupGetVersionInfoFromImage(), pSetupMultiByteToUnicode(), pSetupStringTableAddString(), pSetupStringTableAddStringEx(), pSetupStringTableDestroy(), pSetupStringTableDuplicate(), pSetupStringTableInitialize(), pSetupStringTableInitializeEx(), pSetupUnicodeToMultiByte(), QueryRegistryValue(), registry_callback(), RetreiveFileSecurity(), SETUP_GetClassIconInfo(), SETUP_GetIconIndex(), SETUP_PropertyAddPropertyAdvancedHandler(), SETUP_PropertyChangeHandler(), SetupCopyOEMInfA(), SetupCopyOEMInfW(), SetupDecompressOrCopyFileA(), SetupDiBuildClassInfoListExA(), SetupDiBuildDriverInfoList(), SetupDiClassGuidsFromNameExA(), SetupDiClassNameFromGuidExA(), SetupDiClassNameFromGuidExW(), SetupDiCreateDeviceInfoA(), SetupDiCreateDeviceInfoListExA(), SetupDiCreateDeviceInfoListExW(), SetupDiCreateDeviceInterfaceA(), SetupDiCreateDeviceInterfaceRegKeyA(), SetupDiCreateDevRegKeyA(), SetupDiDestroyClassImageList(), SetupDiGetActualSectionToInstallExA(), SetupDiGetClassDescriptionExA(), SetupDiGetClassDescriptionExW(), SetupDiGetClassDevsExA(), SetupDiGetClassImageListExA(), SetupDiGetClassImageListExW(), SetupDiGetDeviceInstanceIdA(), SetupDiGetDeviceInterfaceDetailA(), SetupDiGetDriverInfoDetailA(), SetupDiGetDriverInfoDetailW(), SetupDiGetINFClassA(), SetupDiInstallClassExA(), SetupDiInstallDeviceInterfaces(), SetupDiLoadClassIcon(), SetupDiOpenClassRegKeyExA(), SetupDiOpenDeviceInfoA(), SetupDiOpenDeviceInterfaceA(), SetupGetFileCompressionInfoA(), SetupGetFileCompressionInfoExA(), SetupGetFileCompressionInfoW(), SetupGetInfFileListA(), SetupGetInfFileListW(), SetupQueueCopySectionW(), TakeOwnershipOfFile(), and test_SetupGetFileCompressionInfo().
Definition at line 147 of file misc.c.
Referenced by AddDriverToList(), CM_Delete_DevNode_Key_Ex(), CM_Get_Device_ID_List_ExA(), CM_Get_Device_Interface_List_ExA(), CM_Open_DevNode_Key_Ex(), CM_Query_Resource_Conflict_List(), CM_Set_DevNode_Registry_Property_ExA(), Concatenate(), DoesUserHavePrivilege(), FixupServiceBinaryPath(), GetDeviceInstanceKeyPath(), GetHardwareAndCompatibleIDsLists(), GetStringField(), InfIsFromOEMLocation(), InstallOneService(), profile_items_callback(), pSetupDuplicateString(), pSetupGetVersionInfoFromImage(), pSetupMultiByteToUnicode(), pSetupStringTableAddString(), pSetupStringTableAddStringEx(), pSetupStringTableDuplicate(), pSetupStringTableInitialize(), pSetupStringTableInitializeEx(), pSetupStringTableSetExtraData(), pSetupUnicodeToMultiByte(), QueryRegistryValue(), registry_callback(), RetreiveFileSecurity(), SETUP_GetClassIconInfo(), SETUP_GetIconIndex(), SETUP_PropertyAddPropertyAdvancedHandler(), SETUP_PropertyChangeHandler(), SetupCopyOEMInfA(), SetupCopyOEMInfW(), SetupDiCreateDeviceInfoListExW(), SetupDiGetActualSectionToInstallExA(), SetupDiGetClassDescriptionExA(), SetupDiGetDeviceInstanceIdA(), SetupDiGetDeviceInterfaceDetailA(), SetupDiGetDriverInfoDetailA(), SetupDiGetINFClassA(), SetupGetFileCompressionInfoA(), SetupGetFileCompressionInfoW(), SetupGetInfFileListA(), SetupGetInfFileListW(), SetupQueueCopySectionW(), and TakeOwnershipOfFile().
Definition at line 574 of file misc.c.
Referenced by CM_Add_ID_ExA(), CM_Connect_MachineA(), CM_Create_DevNode_ExA(), CM_Get_Device_ID_List_ExA(), CM_Get_Device_ID_List_Size_ExA(), CM_Get_Device_Interface_List_ExA(), CM_Get_Device_Interface_List_Size_ExA(), CM_Get_HW_Prof_Flags_ExA(), CM_Locate_DevNode_ExA(), CM_Open_Class_Key_ExA(), CM_Register_Device_Interface_ExA(), CM_Set_HW_Prof_Flags_ExA(), and CM_Unregister_Device_Interface_ExA().
Definition at line 1108 of file misc.c.
BOOL WINAPI pSetupConcatenatePaths | ( | LPWSTR | lpPath, |
LPCWSTR | lpAppend, | ||
DWORD | dwBufferSize, | ||
LPDWORD | lpRequiredSize | ||
) |
Definition at line 1040 of file misc.c.
Definition at line 198 of file misc.c.
Referenced by CaptureStringArg(), CheckSectionValid(), and profile_items_callback().
Definition at line 440 of file misc.c.
Referenced by SaveDefaultUserHive().
BOOL WINAPI pSetupGetVersionInfoFromImage | ( | LPWSTR | lpFileName, |
PULARGE_INTEGER | lpFileVersion, | ||
LPWORD | lpVersionVarSize | ||
) |
Definition at line 1158 of file misc.c.
Definition at line 1751 of file misc.c.
Referenced by DisplayClassProperties(), and GetDeviceDisplayInfo().
Definition at line 1268 of file misc.c.
Definition at line 1817 of file misc.c.
Referenced by CM_Add_Empty_Log_Conf_Ex(), CM_Add_ID_ExW(), CM_Create_DevNode_ExW(), CM_Delete_DevNode_Key_Ex(), CM_Disable_DevNode_Ex(), CM_Enable_DevNode_Ex(), CM_Free_Log_Conf_Ex(), CM_Move_DevNode_Ex(), CM_Run_Detection_Ex(), CM_Set_HW_Prof_Ex(), CM_Setup_DevNode_Ex(), CMP_Report_LogOn(), and SetupInitializeFileLogW().
Definition at line 858 of file misc.c.
Referenced by pSetupSetGlobalFlags(), and SetupSetNonInteractiveMode().
Definition at line 281 of file misc.c.
Referenced by CM_Get_DevNode_Custom_Property_ExA(), pSetupCaptureAndConvertAnsiArg(), SetupCopyOEMInfA(), SetupDecompressOrCopyFileA(), SetupDiBuildClassInfoListExA(), SetupDiClassGuidsFromNameExA(), SetupDiClassNameFromGuidExA(), SetupDiCreateDeviceInfoA(), SetupDiCreateDeviceInfoListExA(), SetupDiCreateDeviceInterfaceA(), SetupDiCreateDeviceInterfaceRegKeyA(), SetupDiCreateDevRegKeyA(), SetupDiGetActualSectionToInstallExA(), SetupDiGetClassDescriptionExA(), SetupDiGetClassDevsExA(), SetupDiGetClassImageListExA(), SetupDiGetINFClassA(), SetupDiInstallClassExA(), SetupDiOpenClassRegKeyExA(), SetupDiOpenDeviceInfoA(), SetupDiOpenDeviceInterfaceA(), SetupGetFileCompressionInfoExA(), and SetupGetInfFileListA().
DWORD WINAPI pSetupOpenAndMapFileForRead | ( | LPCWSTR | lpFileName, |
LPDWORD | lpSize, | ||
LPHANDLE | lpFile, | ||
LPHANDLE | lpMapping, | ||
LPVOID * | lpBuffer | ||
) |
Definition at line 604 of file misc.c.
Definition at line 1775 of file misc.c.
Referenced by CM_Get_Class_Registry_PropertyW(), CreateSymbolicLink(), and SetupDiCallClassInstaller().
Definition at line 327 of file misc.c.
Referenced by GetFunctionPointer(), and SetupGetFileCompressionInfoExA().
LONG WINAPI QueryRegistryValue | ( | HKEY | hKey, |
LPCWSTR | lpValueName, | ||
LPBYTE * | lpData, | ||
LPDWORD | lpType, | ||
LPDWORD | lpcbData | ||
) |
Definition at line 234 of file misc.c.
DWORD WINAPI RetreiveFileSecurity | ( | LPCWSTR | lpFileName, |
PSECURITY_DESCRIPTOR * | pSecurityDescriptor | ||
) |
Definition at line 794 of file misc.c.
Definition at line 2017 of file misc.c.
Referenced by DllMain(), and test_SetupLogError().
Definition at line 1656 of file misc.c.
Referenced by test_SetupDecompressOrCopyFile().
Definition at line 1690 of file misc.c.
Referenced by SetupDecompressOrCopyFileA().
DWORD WINAPI SetupGetFileCompressionInfoA | ( | PCSTR | source, |
PSTR * | name, | ||
PDWORD | source_size, | ||
PDWORD | target_size, | ||
PUINT | type | ||
) |
Definition at line 1512 of file misc.c.
Referenced by test_SetupGetFileCompressionInfo().
BOOL WINAPI SetupGetFileCompressionInfoExA | ( | PCSTR | source, |
PSTR | name, | ||
DWORD | len, | ||
PDWORD | required, | ||
PDWORD | source_size, | ||
PDWORD | target_size, | ||
PUINT | type | ||
) |
Definition at line 1411 of file misc.c.
Referenced by main(), and SetupGetFileCompressionInfoA().
BOOL WINAPI SetupGetFileCompressionInfoExW | ( | PCWSTR | source, |
PWSTR | name, | ||
DWORD | len, | ||
PDWORD | required, | ||
PDWORD | source_size, | ||
PDWORD | target_size, | ||
PUINT | type | ||
) |
Definition at line 1472 of file misc.c.
Referenced by SetupGetFileCompressionInfoExA(), and SetupGetFileCompressionInfoW().
DWORD WINAPI SetupGetFileCompressionInfoW | ( | PCWSTR | source, |
PWSTR * | name, | ||
PDWORD | source_size, | ||
PDWORD | target_size, | ||
PUINT | type | ||
) |
HSPFILELOG WINAPI SetupInitializeFileLogA | ( | LPCSTR | LogFileName, |
DWORD | Flags | ||
) |
Definition at line 1965 of file misc.c.
HSPFILELOG WINAPI SetupInitializeFileLogW | ( | LPCWSTR | LogFileName, |
DWORD | Flags | ||
) |
Definition at line 1843 of file misc.c.
Referenced by SetupInitializeFileLogA().
BOOL WINAPI SetupLogErrorA | ( | LPCSTR | message, |
LogSeverity | severity | ||
) |
Definition at line 2084 of file misc.c.
Referenced by SetupLogErrorW(), and test_SetupLogError().
BOOL WINAPI SetupLogErrorW | ( | LPCWSTR | message, |
LogSeverity | severity | ||
) |
Definition at line 2126 of file misc.c.
Definition at line 2033 of file misc.c.
Referenced by test_SetupLogError().
Definition at line 883 of file misc.c.
Definition at line 1243 of file misc.c.
Definition at line 1214 of file misc.c.
Referenced by SetupUninstallOEMInfA().
DWORD WINAPI StampFileSecurity | ( | LPCWSTR | lpFileName, |
PSECURITY_DESCRIPTOR | pSecurityDescriptor | ||
) |
Definition at line 695 of file misc.c.
Definition at line 720 of file misc.c.
Referenced by SetupInitializeFileLogW().
Definition at line 1725 of file misc.c.
Referenced by pSetupGuidFromString().
Definition at line 28 of file misc.c.
Referenced by pSetupGetVersionInfoFromImage().
|
static |
DWORD GlobalSetupFlags = 0 |
Definition at line 845 of file misc.c.
Referenced by InstallHinfSectionW(), pSetupGetGlobalFlags(), pSetupModifyGlobalFlags(), SetupGetNonInteractiveMode(), and SetupSetNonInteractiveMode().
|
static |
Definition at line 32 of file misc.c.
Referenced by SetupCloseLog(), SetupLogErrorA(), and SetupOpenLog().
|
static |
Definition at line 34 of file misc.c.
Referenced by SetupCloseLog(), SetupLogErrorA(), and SetupOpenLog().
|
static |
Definition at line 33 of file misc.c.
Referenced by SetupCloseLog(), SetupLogErrorA(), and SetupOpenLog().