Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
newdev.h
00001 /* 00002 * newdev.h 00003 * 00004 * Driver installation DLL interface 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * Contributors: 00009 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net> 00010 * 00011 * THIS SOFTWARE IS NOT COPYRIGHTED 00012 * 00013 * This source code is offered for use in the public domain. You may 00014 * use, modify or distribute it freely. 00015 * 00016 * This code is distributed in the hope that it will be useful but 00017 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00018 * DISCLAIMED. This includes but is not limited to warranties of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00020 * 00021 */ 00022 00023 #ifndef __NEWDEV_H 00024 #define __NEWDEV_H 00025 00026 #if __GNUC__ >=3 00027 #pragma GCC system_header 00028 #endif 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00034 /* UpdateDriverForPlugAndPlayDevices.InstallFlags constants */ 00035 #define INSTALLFLAG_FORCE 0x00000001 00036 #define INSTALLFLAG_READONLY 0x00000002 00037 #define INSTALLFLAG_NONINTERACTIVE 0x00000004 00038 #define INSTALLFLAG_BITS 0x00000007 00039 00040 BOOL WINAPI 00041 UpdateDriverForPlugAndPlayDevicesA( 00042 HWND hwndParent, 00043 LPCSTR HardwareId, 00044 LPCSTR FullInfPath, 00045 DWORD InstallFlags, 00046 PBOOL bRebootRequired /*OPTIONAL*/); 00047 00048 BOOL WINAPI 00049 UpdateDriverForPlugAndPlayDevicesW( 00050 HWND hwndParent, 00051 LPCWSTR HardwareId, 00052 LPCWSTR FullInfPath, 00053 DWORD InstallFlags, 00054 PBOOL bRebootRequired /*OPTIONAL*/); 00055 00056 #ifdef UNICODE 00057 #define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesW 00058 #else 00059 #define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesA 00060 #endif /* UNICODE */ 00061 00062 #ifdef __cplusplus 00063 } 00064 #endif 00065 00066 #endif /* __NEWDEV_H */
Generated on Tue Jul 12 2022 19:59:54 by
