From 2f9302a738fa22e4b7dfe0e567eea80d568c5245 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Thu, 2 Oct 2003 04:24:58 +0000 Subject: [PATCH] Added some missing defines. Moved Wine only defines to not conflict. --- include/mmddk.h | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/include/mmddk.h b/include/mmddk.h index 33768bdce75..6f682ca72e3 100644 --- a/include/mmddk.h +++ b/include/mmddk.h @@ -69,20 +69,29 @@ typedef struct { #define DRVM_IOCTL_CMD_USER 0x00000000L #define DRVM_IOCTL_CMD_SYSTEM 0x80000000L -#define DRVM_MAPPER 0x2000 -#define DRVM_USER 0x4000 -#define DRVM_MAPPER_STATUS (DRVM_MAPPER+0) -#define DRVM_MAPPER_RECONFIGURE (DRVM_MAPPER+1) - -#define DRV_QUERYDRVENTRY (DRV_RESERVED + 1) -#define DRV_QUERYDEVNODE (DRV_RESERVED + 2) -#define DRV_QUERYNAME (DRV_RESERVED + 3) -#define DRV_QUERYDRIVERIDS (DRV_RESERVED + 4) -#define DRV_QUERYMAPPABLE (DRV_RESERVED + 5) +#define DRVM_MAPPER 0x2000 +#define DRVM_USER 0x4000 +#define DRVM_MAPPER_STATUS (DRVM_MAPPER+0) +#define DRVM_MAPPER_RECONFIGURE (DRVM_MAPPER+1) +#define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21) +#define DRVM_MAPPER_CONSOLEVOICECOM_GET (DRVM_MAPPER+23) + +#define DRV_QUERYDRVENTRY (DRV_RESERVED + 1) +#define DRV_QUERYDEVNODE (DRV_RESERVED + 2) +#define DRV_QUERYNAME (DRV_RESERVED + 3) +#define DRV_QUERYDRIVERIDS (DRV_RESERVED + 4) +#define DRV_QUERYMAPPABLE (DRV_RESERVED + 5) +#define DRV_QUERYMODULE (DRV_RESERVED + 9) +#define DRV_PNPINSTALL (DRV_RESERVED + 11) +#define DRV_QUERYDEVICEINTERFACE (DRV_RESERVED + 12) +#define DRV_QUERYDEVICEINTERFACESIZE (DRV_RESERVED + 13) +#define DRV_QUERYSTRINGID (DRV_RESERVED + 14) +#define DRV_QUERYSTRINGIDSIZE (DRV_RESERVED + 15) +#define DRV_QUERYIDFROMSTRINGID (DRV_RESERVED + 16) #ifdef __WINESRC__ -#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 10) -#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 11) -#define DRV_QUERYDSOUNDGUID (DRV_RESERVED + 12) +#define DRV_QUERYDSOUNDIFACE (DRV_RESERVED + 20) +#define DRV_QUERYDSOUNDDESC (DRV_RESERVED + 21) +#define DRV_QUERYDSOUNDGUID (DRV_RESERVED + 22) #endif #define WODM_INIT DRVM_INIT @@ -104,12 +113,15 @@ typedef struct { #define WODM_GETPLAYBACKRATE 18 #define WODM_SETPLAYBACKRATE 19 #define WODM_BREAKLOOP 20 +#define WODM_PREFERRED 21 #define WODM_MAPPER_STATUS (DRVM_MAPPER_STATUS + 0) #define WAVEOUT_MAPPER_STATUS_DEVICE 0 #define WAVEOUT_MAPPER_STATUS_MAPPED 1 #define WAVEOUT_MAPPER_STATUS_FORMAT 2 +#define WODM_BUSY 21 + #define WIDM_INIT DRVM_INIT #define WIDM_GETNUMDEVS 50 #define WIDM_GETDEVCAPS 51 @@ -122,7 +134,7 @@ typedef struct { #define WIDM_STOP 58 #define WIDM_RESET 59 #define WIDM_GETPOS 60 - +#define WIDM_PREFERRED 61 #define WIDM_MAPPER_STATUS (DRVM_MAPPER_STATUS + 0) #define WAVEIN_MAPPER_STATUS_DEVICE 0 #define WAVEIN_MAPPER_STATUS_MAPPED 1 -- 2.11.4.GIT