Mercurial > games > semicongine
comparison fuhtark_test/include/ddk/newdev.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 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 */ |
