~steve-sk2/mingw-w64/oneiric

« back to all changes in this revision

Viewing changes to mingw-w64-headers/ddk/include/ddk/newdev.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2010-11-18 00:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101118000446-xe24b423su55onyl
Tags: 1.0+20101003-1
* New maintainer. (Closes: #594371.)
* New upstream snapshot:
  - Includes getopt.h. (Closes: #569914.)
* Build g++ for Win64. (Closes: #600451.)
* Standards-Version 3.9.1 (new packaging).
* Include patch from
  http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715
  as suggested by Rafaël Carré.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * newdev.h
3
 
 *
4
 
 * Driver installation DLL interface
5
 
 *
6
 
 * This file is part of the w32api package.
7
 
 *
8
 
 * Contributors:
9
 
 *   Created by Casper S. Hornstrup <chorns@users.sourceforge.net>
10
 
 *
11
 
 * THIS SOFTWARE IS NOT COPYRIGHTED
12
 
 *
13
 
 * This source code is offered for use in the public domain. You may
14
 
 * use, modify or distribute it freely.
15
 
 *
16
 
 * This code is distributed in the hope that it will be useful but
17
 
 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
 
 * DISCLAIMED. This includes but is not limited to warranties of
19
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
 
 *
21
 
 */
22
 
 
23
 
#ifndef __NEWDEV_H
24
 
#define __NEWDEV_H
25
 
 
26
 
#ifdef __cplusplus
27
 
extern "C" {
28
 
#endif
29
 
 
30
 
/* UpdateDriverForPlugAndPlayDevices.InstallFlags constants */
31
 
#define INSTALLFLAG_FORCE                 0x00000001
32
 
#define INSTALLFLAG_READONLY              0x00000002
33
 
#define INSTALLFLAG_NONINTERACTIVE        0x00000004
34
 
#define INSTALLFLAG_BITS                  0x00000007
35
 
 
36
 
BOOL WINAPI
37
 
UpdateDriverForPlugAndPlayDevicesA(
38
 
  HWND  hwndParent,
39
 
  LPCSTR  HardwareId,
40
 
  LPCSTR  FullInfPath,
41
 
  DWORD  InstallFlags,
42
 
  PBOOL  bRebootRequired  OPTIONAL);
43
 
 
44
 
BOOL WINAPI
45
 
UpdateDriverForPlugAndPlayDevicesW(
46
 
  HWND  hwndParent,
47
 
  LPCWSTR  HardwareId,
48
 
  LPCWSTR  FullInfPath,
49
 
  DWORD  InstallFlags,
50
 
  PBOOL  bRebootRequired  OPTIONAL);
51
 
 
52
 
#ifdef UNICODE
53
 
#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesW
54
 
#else
55
 
#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesA
56
 
#endif /* UNICODE */
57
 
 
58
 
#ifdef __cplusplus
59
 
}
60
 
#endif
61
 
 
62
 
#endif /* __NEWDEV_H */