ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

install.c File Reference
#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 "wine/unicode.h"
#include "advpack_private.h"

Go to the source code of this file.

Data Structures

struct  ADVInfo
struct  SETUPCOMMAND_PARAMS
struct  SETUPCOMMAND_PARAMSW

Defines

#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 HRESULT(* iterate_fields_func )(HINF hinf, PCWSTR field, const void *arg)

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (advpack)
static HRESULT del_dirs_callback (HINF hinf, PCWSTR field, const void *arg)
static HRESULT per_user_install_callback (HINF hinf, PCWSTR field, const void *arg)
static HRESULT register_ocxs_callback (HINF hinf, PCWSTR field, const void *arg)
static HRESULT run_setup_commands_callback (HINF hinf, PCWSTR field, const void *arg)
LPWSTR get_parameter (LPWSTR *params, WCHAR separator)
static BOOL is_full_path (LPCWSTR path)
static WCHARget_field_string (INFCONTEXT *context, DWORD index, WCHAR *buffer, const WCHAR *static_buffer, DWORD *size)
static HRESULT iterate_section_fields (HINF hinf, PCWSTR section, PCWSTR key, iterate_fields_func callback, void *arg)
static HRESULT check_admin_rights (const ADVInfo *info)
static HRESULT spapi_install (const ADVInfo *info)
static HRESULT adv_install (ADVInfo *info)
static HRESULT get_working_dir (ADVInfo *info, LPCWSTR inf_filename, LPCWSTR working_dir)
static HRESULT install_init (LPCWSTR inf_filename, LPCWSTR install_sec, LPCWSTR working_dir, DWORD flags, ADVInfo *info)
static void install_release (const ADVInfo *info)
static HRESULT DoInfInstallW (const SETUPCOMMAND_PARAMSW *setup)
HRESULT WINAPI DoInfInstall (const SETUPCOMMAND_PARAMS *setup)
HRESULT WINAPI ExecuteCabA (HWND hwnd, CABINFOA *pCab, LPVOID pReserved)
HRESULT WINAPI ExecuteCabW (HWND hwnd, CABINFOW *pCab, LPVOID pReserved)
INT WINAPI LaunchINFSectionA (HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show)
INT WINAPI LaunchINFSectionW (HWND hWnd, HINSTANCE hInst, LPWSTR cmdline, INT show)
HRESULT WINAPI LaunchINFSectionExA (HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT show)
HRESULT WINAPI LaunchINFSectionExW (HWND hWnd, HINSTANCE hInst, LPWSTR cmdline, INT show)
HRESULT launch_exe (LPCWSTR cmd, LPCWSTR dir, HANDLE *phEXE)
HRESULT WINAPI RunSetupCommandA (HWND hWnd, LPCSTR szCmdName, LPCSTR szInfSection, LPCSTR szDir, LPCSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)
HRESULT WINAPI RunSetupCommandW (HWND hWnd, LPCWSTR szCmdName, LPCWSTR szInfSection, LPCWSTR szDir, LPCWSTR lpszTitle, HANDLE *phEXE, DWORD dwFlags, LPVOID pvReserved)

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 []

Generated on Sun May 27 2012 04:48:35 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.