📄 mmsystem.h
字号:
DWORD fdwSupport; DWORD cDestinations;} MIXERCAPSW,*PMIXERCAPSW,*LPMIXERCAPSW;typedef struct tagMIXERLINEA { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; CHAR szShortName[MIXER_SHORT_NAME_CHARS]; CHAR szName[MIXER_LONG_NAME_CHARS]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; CHAR szPname[MAXPNAMELEN]; } Target;} MIXERLINEA,*PMIXERLINEA,*LPMIXERLINEA;typedef struct tagMIXERLINEW { DWORD cbStruct; DWORD dwDestination; DWORD dwSource; DWORD dwLineID; DWORD fdwLine; DWORD dwUser; DWORD dwComponentType; DWORD cChannels; DWORD cConnections; DWORD cControls; WCHAR szShortName[MIXER_SHORT_NAME_CHARS]; WCHAR szName[MIXER_LONG_NAME_CHARS]; struct { DWORD dwType; DWORD dwDeviceID; WORD wMid; WORD wPid; MMVERSION vDriverVersion; WCHAR szPname[MAXPNAMELEN]; } Target;} MIXERLINEW,*PMIXERLINEW,*LPMIXERLINEW;typedef struct tagMIXERCONTROLA { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; CHAR szShortName[MIXER_SHORT_NAME_CHARS]; CHAR szName[MIXER_LONG_NAME_CHARS]; union { struct { LONG lMinimum; LONG lMaximum; }_STRUCT_NAME(s); struct { DWORD dwMinimum; DWORD dwMaximum; }_STRUCT_NAME(s1); DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics;} MIXERCONTROLA,*PMIXERCONTROLA,*LPMIXERCONTROLA;typedef struct tagMIXERCONTROLW { DWORD cbStruct; DWORD dwControlID; DWORD dwControlType; DWORD fdwControl; DWORD cMultipleItems; WCHAR szShortName[MIXER_SHORT_NAME_CHARS]; WCHAR szName[MIXER_LONG_NAME_CHARS]; union { struct { LONG lMinimum; LONG lMaximum; }_STRUCT_NAME(s); struct { DWORD dwMinimum; DWORD dwMaximum; }_STRUCT_NAME(s1); DWORD dwReserved[6]; } Bounds; union { DWORD cSteps; DWORD cbCustomData; DWORD dwReserved[6]; } Metrics;} MIXERCONTROLW,*PMIXERCONTROLW,*LPMIXERCONTROLW;typedef struct tagMIXERLINECONTROLSA { DWORD cbStruct; DWORD dwLineID; union { DWORD dwControlID; DWORD dwControlType; } DUMMYUNIONNAME; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLA pamxctrl;} MIXERLINECONTROLSA,*PMIXERLINECONTROLSA,*LPMIXERLINECONTROLSA;typedef struct tagMIXERLINECONTROLSW { DWORD cbStruct; DWORD dwLineID; union { DWORD dwControlID; DWORD dwControlType; } DUMMYUNIONNAME; DWORD cControls; DWORD cbmxctrl; LPMIXERCONTROLW pamxctrl;} MIXERLINECONTROLSW,*PMIXERLINECONTROLSW,*LPMIXERLINECONTROLSW;typedef struct tMIXERCONTROLDETAILS { DWORD cbStruct; DWORD dwControlID; DWORD cChannels; union { HWND hwndOwner; DWORD cMultipleItems; } DUMMYUNIONNAME; DWORD cbDetails; PVOID paDetails;} MIXERCONTROLDETAILS,*PMIXERCONTROLDETAILS,*LPMIXERCONTROLDETAILS;typedef struct tagMIXERCONTROLDETAILS_LISTTEXTA { DWORD dwParam1; DWORD dwParam2; CHAR szName[MIXER_LONG_NAME_CHARS];} MIXERCONTROLDETAILS_LISTTEXTA,*PMIXERCONTROLDETAILS_LISTTEXTA,*LPMIXERCONTROLDETAILS_LISTTEXTA;typedef struct tagMIXERCONTROLDETAILS_LISTTEXTW { DWORD dwParam1; DWORD dwParam2; WCHAR szName[MIXER_LONG_NAME_CHARS];} MIXERCONTROLDETAILS_LISTTEXTW,*PMIXERCONTROLDETAILS_LISTTEXTW,*LPMIXERCONTROLDETAILS_LISTTEXTW;typedef struct tMIXERCONTROLDETAILS_BOOLEAN { LONG fValue;} MIXERCONTROLDETAILS_BOOLEAN,*PMIXERCONTROLDETAILS_BOOLEAN,*LPMIXERCONTROLDETAILS_BOOLEAN;typedef struct tMIXERCONTROLDETAILS_SIGNED { LONG lValue;} MIXERCONTROLDETAILS_SIGNED,*PMIXERCONTROLDETAILS_SIGNED,*LPMIXERCONTROLDETAILS_SIGNED;typedef struct tMIXERCONTROLDETAILS_UNSIGNED { DWORD dwValue;} MIXERCONTROLDETAILS_UNSIGNED,*PMIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED;typedef void(CALLBACK TIMECALLBACK)(UINT,UINT,DWORD,DWORD,DWORD);typedef TIMECALLBACK *LPTIMECALLBACK;typedef struct timecaps_tag { UINT wPeriodMin; UINT wPeriodMax;} TIMECAPS,*PTIMECAPS,*LPTIMECAPS;typedef struct tagJOYCAPSA { WORD wMid; WORD wPid; CHAR szPname[MAXPNAMELEN]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; CHAR szRegKey[MAXPNAMELEN]; CHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME];} JOYCAPSA,*PJOYCAPSA,*LPJOYCAPSA;typedef struct tagJOYCAPSW { WORD wMid; WORD wPid; WCHAR szPname[MAXPNAMELEN]; UINT wXmin; UINT wXmax; UINT wYmin; UINT wYmax; UINT wZmin; UINT wZmax; UINT wNumButtons; UINT wPeriodMin; UINT wPeriodMax; UINT wRmin; UINT wRmax; UINT wUmin; UINT wUmax; UINT wVmin; UINT wVmax; UINT wCaps; UINT wMaxAxes; UINT wNumAxes; UINT wMaxButtons; WCHAR szRegKey[MAXPNAMELEN]; WCHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME];} JOYCAPSW,*PJOYCAPSW,*LPJOYCAPSW;typedef struct joyinfo_tag { UINT wXpos; UINT wYpos; UINT wZpos; UINT wButtons;} JOYINFO,*PJOYINFO,*LPJOYINFO;typedef struct joyinfoex_tag { DWORD dwSize; DWORD dwFlags; DWORD dwXpos; DWORD dwYpos; DWORD dwZpos; DWORD dwRpos; DWORD dwUpos; DWORD dwVpos; DWORD dwButtons; DWORD dwButtonNumber; DWORD dwPOV; DWORD dwReserved1; DWORD dwReserved2;} JOYINFOEX,*PJOYINFOEX,*LPJOYINFOEX;typedef DWORD FOURCC;typedef char *HPSTR;DECLARE_HANDLE(HMMIO);typedef LRESULT (CALLBACK MMIOPROC)(LPSTR,UINT,LPARAM,LPARAM);typedef MMIOPROC *LPMMIOPROC;typedef struct _MMIOINFO { DWORD dwFlags; FOURCC fccIOProc; LPMMIOPROC pIOProc; UINT wErrorRet; HTASK htask; LONG cchBuffer; HPSTR pchBuffer; HPSTR pchNext; HPSTR pchEndRead; HPSTR pchEndWrite; LONG lBufOffset; LONG lDiskOffset; DWORD adwInfo[3]; DWORD dwReserved1; DWORD dwReserved2; HMMIO hmmio;} MMIOINFO,*PMMIOINFO,*LPMMIOINFO;typedef const MMIOINFO *LPCMMIOINFO;typedef struct _MMCKINFO { FOURCC ckid; DWORD cksize; FOURCC fccType; DWORD dwDataOffset; DWORD dwFlags;} MMCKINFO,*PMMCKINFO,*LPMMCKINFO;typedef const MMCKINFO *LPCMMCKINFO;typedef struct tagMCI_GENERIC_PARMS { DWORD dwCallback;} MCI_GENERIC_PARMS,*PMCI_GENERIC_PARMS,*LPMCI_GENERIC_PARMS;typedef struct tagMCI_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias;} MCI_OPEN_PARMSA,*PMCI_OPEN_PARMSA,*LPMCI_OPEN_PARMSA;typedef struct tagMCI_OPEN_PARMSW { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCWSTR lpstrDeviceType; LPCWSTR lpstrElementName; LPCWSTR lpstrAlias;} MCI_OPEN_PARMSW,*PMCI_OPEN_PARMSW,*LPMCI_OPEN_PARMSW;typedef struct tagMCI_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo;} MCI_PLAY_PARMS,*PMCI_PLAY_PARMS,*LPMCI_PLAY_PARMS;typedef struct tagMCI_SEEK_PARMS { DWORD dwCallback; DWORD dwTo;} MCI_SEEK_PARMS, *PMCI_SEEK_PARMS,*LPMCI_SEEK_PARMS;typedef struct tagMCI_STATUS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem; DWORD dwTrack;} MCI_STATUS_PARMS,*PMCI_STATUS_PARMS,*LPMCI_STATUS_PARMS;typedef struct tagMCI_INFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize;} MCI_INFO_PARMSA,*LPMCI_INFO_PARMSA;typedef struct tagMCI_INFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize;} MCI_INFO_PARMSW,*LPMCI_INFO_PARMSW;typedef struct tagMCI_GETDEVCAPS_PARMS { DWORD dwCallback; DWORD dwReturn; DWORD dwItem;} MCI_GETDEVCAPS_PARMS,*PMCI_GETDEVCAPS_PARMS,*LPMCI_GETDEVCAPS_PARMS;typedef struct tagMCI_SYSINFO_PARMSA { DWORD dwCallback; LPSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType;} MCI_SYSINFO_PARMSA,*PMCI_SYSINFO_PARMSA,*LPMCI_SYSINFO_PARMSA;typedef struct tagMCI_SYSINFO_PARMSW { DWORD dwCallback; LPWSTR lpstrReturn; DWORD dwRetSize; DWORD dwNumber; UINT wDeviceType;} MCI_SYSINFO_PARMSW,*PMCI_SYSINFO_PARMSW,*LPMCI_SYSINFO_PARMSW;typedef struct tagMCI_SET_PARMS { DWORD dwCallback; DWORD dwTimeFormat; DWORD dwAudio;} MCI_SET_PARMS,*PMCI_SET_PARMS,*LPMCI_SET_PARMS;typedef struct tagMCI_BREAK_PARMS { DWORD dwCallback; int nVirtKey; HWND hwndBreak;} MCI_BREAK_PARMS,*PMCI_BREAK_PARMS,*LPMCI_BREAK_PARMS;typedef struct tagMCI_SAVE_PARMSA { DWORD dwCallback; LPCSTR lpfilename;} MCI_SAVE_PARMSA,*PMCI_SAVE_PARMSA,*LPMCI_SAVE_PARMSA;typedef struct tagMCI_SAVE_PARMSW { DWORD dwCallback; LPCWSTR lpfilename;} MCI_SAVE_PARMSW,*PMCI_SAVE_PARMSW,*LPMCI_SAVE_PARMSW;typedef struct tagMCI_LOAD_PARMSA { DWORD dwCallback; LPCSTR lpfilename;} MCI_LOAD_PARMSA,*PMCI_LOAD_PARMSA,*LPMCI_LOAD_PARMSA;typedef struct tagMCI_LOAD_PARMSW { DWORD dwCallback; LPCWSTR lpfilename;} MCI_LOAD_PARMSW,*PMCI_LOAD_PARMSW,*LPMCI_LOAD_PARMSW;typedef struct tagMCI_RECORD_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo;} MCI_RECORD_PARMS,*LPMCI_RECORD_PARMS;typedef struct tagMCI_VD_PLAY_PARMS { DWORD dwCallback; DWORD dwFrom; DWORD dwTo; DWORD dwSpeed;} MCI_VD_PLAY_PARMS,*PMCI_VD_PLAY_PARMS,*LPMCI_VD_PLAY_PARMS;typedef struct tagMCI_VD_STEP_PARMS { DWORD dwCallback; DWORD dwFrames;} MCI_VD_STEP_PARMS,*PMCI_VD_STEP_PARMS,*LPMCI_VD_STEP_PARMS;typedef struct tagMCI_VD_ESCAPE_PARMSA { DWORD dwCallback; LPCSTR lpstrCommand;} MCI_VD_ESCAPE_PARMSA,*PMCI_VD_ESCAPE_PARMSA,*LPMCI_VD_ESCAPE_PARMSA;typedef struct tagMCI_VD_ESCAPE_PARMSW { DWORD dwCallback; LPCWSTR lpstrCommand;} MCI_VD_ESCAPE_PARMSW,*PMCI_VD_ESCAPE_PARMSW,*LPMCI_VD_ESCAPE_PARMSW;typedef struct tagMCI_WAVE_OPEN_PARMSA { DWORD dwCallback; MCIDEVICEID wDeviceID; LPCSTR lpstrDeviceType; LPCSTR lpstrElementName; LPCSTR lpstrAlias;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -