📄 hdallintr.h
字号:
// {4266842A-020B-4ecc-B589-39C35CF27576}
static const GUID HDALL_INTERFACE_GUID =
{ 0x4266842a, 0x20b, 0x4ecc, { 0xb5, 0x89, 0x39, 0xc3, 0x5c, 0xf2, 0x75, 0x76 } };
#define HDALL_COMMAND_NOTIFY 1
#define HDALL_COMMAND_VERIFY_DRIVER 2
#define HDALL_VERIFICATION_NUMBER 0x4266842B
// HDALL_INTERFACE_S - structure sent to HDALL when an IRP_MN_QUERY_INTERFACE IRP is sent
//
// If the Command is HDALL_COMMAND_VERIFY_DRIVER, then the pointer to then pVerificationNumber
// is valid and must be filled in with HDALL_VERIFICATION_NUMBER. This is used to verify that
// we have the correct device object since the call to get HDALL's device object could potentially
// return more than one device object if there is more than one KSCATEGORY_DATADECOMPRESSOR
// driver loaded.
//
// If the Command is HDALL_COMMAND_NOTIFY then NotificationInfo is valid. This IRP is sent when
// the application changes something in the tuner driver, either the input, the mode, or
// the channel frequency. Note that when the application changes the channel, it
// could result in multiple channel frequency calls.
//
typedef struct _HDALL_INTERFACE
{
ULONG Command;
union _Data
{
PULONG pVerificationNumber;
struct {
ULONG TunerMode;
ULONG Channel;
}NotificationInfo;
}Data;
}HDALL_INTERFACE, *PHDALL_INTERFACE;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -