newdev.h
来自「书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下」· C头文件 代码 · 共 66 行
H
66 行
/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
newdev.h
Abstract:
Public header file for Windows NT Driver Installation DLL.
--*/
#ifndef _INC_NEWDEV
#define _INC_NEWDEV
#include <pshpack1.h> // Assume byte packing throughout
#ifdef __cplusplus
extern "C" {
#endif
#define INSTALLFLAG_FORCE 0x00000001 // Force the installation of the specified driver
#define INSTALLFLAG_BITS 0x00000001
BOOL
WINAPI
UpdateDriverForPlugAndPlayDevicesA(
HWND hwndParent,
LPCSTR HardwareId,
LPCSTR FullInfPath,
DWORD InstallFlags,
PBOOL bRebootRequired OPTIONAL
);
BOOL
WINAPI
UpdateDriverForPlugAndPlayDevicesW(
HWND hwndParent,
LPCWSTR HardwareId,
LPCWSTR FullInfPath,
DWORD InstallFlags,
PBOOL bRebootRequired OPTIONAL
);
#ifdef UNICODE
#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesW
#else
#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesA
#endif
#ifdef __cplusplus
}
#endif
#include <poppack.h>
#endif // _INC_NEWDEV
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?