ReactOS 0.4.16-dev-122-g325d74c
|
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winreg.h"
#include "winternl.h"
#include "winnls.h"
#include "setupapi.h"
#include "advpub.h"
#include "ole2.h"
#include "wine/debug.h"
#include "advpack_private.h"
Go to the source code of this file.
Classes | |
struct | _ADVInfo |
struct | SETUPCOMMAND_PARAMS |
struct | SETUPCOMMAND_PARAMSW |
Macros | |
#define | SPAPI_ERROR 0xE0000000L |
#define | SPAPI_PREFIX 0x800F0000L |
#define | SPAPI_MASK 0xFFFFL |
#define | HRESULT_FROM_SPAPI(x) ((HRESULT)((x & SPAPI_MASK) | SPAPI_PREFIX)) |
#define | ADV_HRESULT(x) ((x & SPAPI_ERROR) ? HRESULT_FROM_SPAPI(x) : HRESULT_FROM_WIN32(x)) |
#define | ADV_SUCCESS 0 |
#define | ADV_FAILURE 1 |
Typedefs | |
typedef struct _ADVInfo | ADVInfo |
typedef HRESULT(* | iterate_fields_func) (HINF hinf, PCWSTR field, const void *arg) |
Variables | |
static const WCHAR | CheckAdminRights [] |
static const WCHAR | DelDirs [] = {'D','e','l','D','i','r','s',0} |
static const WCHAR | PerUserInstall [] = {'P','e','r','U','s','e','r','I','n','s','t','a','l','l',0} |
static const WCHAR | RegisterOCXs [] = {'R','e','g','i','s','t','e','r','O','C','X','s',0} |
static const WCHAR | RunPreSetupCommands [] |
static const WCHAR | RunPostSetupCommands [] |
#define ADV_HRESULT | ( | x | ) | ((x & SPAPI_ERROR) ? HRESULT_FROM_SPAPI(x) : HRESULT_FROM_WIN32(x)) |
#define HRESULT_FROM_SPAPI | ( | x | ) | ((HRESULT)((x & SPAPI_MASK) | SPAPI_PREFIX)) |
Definition at line 351 of file install.c.
Referenced by DoInfInstallW(), ExecuteCabW(), LaunchINFSectionW(), and RunSetupCommandW().
Definition at line 296 of file install.c.
Referenced by adv_install().
Definition at line 77 of file install.c.
Referenced by adv_install().
HRESULT WINAPI DoInfInstall | ( | const SETUPCOMMAND_PARAMS * | setup | ) |
Definition at line 583 of file install.c.
|
static |
Definition at line 546 of file install.c.
Referenced by DoInfInstall().
Definition at line 618 of file install.c.
Definition at line 671 of file install.c.
Referenced by ExecuteCabA(), LaunchINFSectionExW(), and RegInstallW().
|
static |
Definition at line 242 of file install.c.
Referenced by iterate_section_fields().
Definition at line 200 of file install.c.
Referenced by DelNodeRunDLL32W(), LaunchINFSectionExW(), LaunchINFSectionW(), RegisterOCX(), and set_ldids().
Definition at line 390 of file install.c.
Referenced by install_init().
|
static |
Definition at line 441 of file install.c.
Referenced by DoInfInstallW(), ExecuteCabW(), LaunchINFSectionW(), and RunSetupCommandW().
Definition at line 516 of file install.c.
Referenced by DoInfInstallW(), ExecuteCabW(), LaunchINFSectionW(), and RunSetupCommandW().
Definition at line 228 of file install.c.
Referenced by LaunchINFSectionExW().
|
static |
Definition at line 263 of file install.c.
Referenced by adv_install(), SetupInstallFilesFromInfSectionW(), SetupInstallFromInfSectionW(), and SetupInstallServicesFromInfSectionExW().
Definition at line 894 of file install.c.
Referenced by run_setup_commands_callback(), RunSetupCommandW(), and UserInstStubWrapperW().
Definition at line 704 of file install.c.
Definition at line 800 of file install.c.
Definition at line 846 of file install.c.
Referenced by LaunchINFSectionExA().
Definition at line 747 of file install.c.
Referenced by LaunchINFSectionA().
Definition at line 100 of file install.c.
Referenced by adv_install().
Definition at line 137 of file install.c.
Referenced by adv_install().
Definition at line 174 of file install.c.
Referenced by adv_install().
HRESULT WINAPI RunSetupCommandA | ( | HWND | hWnd, |
LPCSTR | szCmdName, | ||
LPCSTR | szInfSection, | ||
LPCSTR | szDir, | ||
LPCSTR | lpszTitle, | ||
HANDLE * | phEXE, | ||
DWORD | dwFlags, | ||
LPVOID | pvReserved | ||
) |
Definition at line 932 of file install.c.
HRESULT WINAPI RunSetupCommandW | ( | HWND | hWnd, |
LPCWSTR | szCmdName, | ||
LPCWSTR | szInfSection, | ||
LPCWSTR | szDir, | ||
LPCWSTR | lpszTitle, | ||
HANDLE * | phEXE, | ||
DWORD | dwFlags, | ||
LPVOID | pvReserved | ||
) |
Definition at line 990 of file install.c.
Referenced by install_inf_file(), process_hook_section(), and RunSetupCommandA().
Definition at line 316 of file install.c.
Referenced by DoInfInstallW(), ExecuteCabW(), LaunchINFSectionW(), and RunSetupCommandW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | advpack | ) |
Definition at line 63 of file install.c.
Referenced by check_admin_rights().
Definition at line 66 of file install.c.
Referenced by adv_install().
Definition at line 67 of file install.c.
Referenced by adv_install().
Definition at line 68 of file install.c.
Referenced by adv_install().
Definition at line 72 of file install.c.
Referenced by adv_install().
Definition at line 69 of file install.c.
Referenced by adv_install().