招商银行ubank报错(招商银行错误代码一览表)_币百科_智行理财网

招商银行ubank报错(招商银行错误代码一览表)

小智 0

欧易okx交易所下载

欧易交易所又称欧易OKX,是世界领先的数字资产交易所,主要面向全球用户提供比特币、莱特币、以太币等数字资产的现货和衍生品交易服务,通过使用区块链技术为全球交易者提供高级金融服务。

APP下载   官网注册

【分享成果,随喜正能量】茶要沸水才能泡出浓香,人要历经沉浮磨炼才能坦然,世间的煎熬对人生是一种成全。可言不可行,不若勿言;可行不可言,不若勿行;发言必虑其所终,立行必稽其所蔽。 。

跟我学VBA,我这里专注VBA, 授人以渔。我98年开始,从源码接触VBA已经20余年了,随着年龄的增长,越来越觉得有必要把这项技能传递给需要这项技术的职场人员。希望职场和数据打交道的朋友,都来学习VBA,利用VBA,起码可以提高自己的工作效率,可以有时间多陪陪父母,多陪陪家人,何乐而不为呢?

这讲我们继续学习64位Office API声明语句第93讲,这些内容是MS的权威资料,看似枯燥,但对于想学习API函数的朋友是非常有用的。

64位Office API声明语句第93讲

当学员学习到高级阶段,如果引用API,这个资料可以直接查到64位写法。大多数情况下我们是将低版本的程序文件升级到高版本,这时您就不必为如下的错误提示所困扰了:

64位Office API声明语句第93讲

' MIDI error return values

Const MIDIERR_UNPREPARED = (MIDIERR_BASE + 0) ' header not prepared

Const MIDIERR_STILLPLAYING = (MIDIERR_BASE + 1) ' still something playing

Const MIDIERR_NOMAP = (MIDIERR_BASE + 2) ' no current map

Const MIDIERR_NOTREADY = (MIDIERR_BASE + 3) ' hardware is still busy

Const MIDIERR_NODEVICE = (MIDIERR_BASE + 4) ' port no longer connected

Const MIDIERR_INVALIDSETUP = (MIDIERR_BASE + 5) ' invalid setup

Const MIDIERR_LASTERROR = (MIDIERR_BASE + 5) ' last error in range

' MIDI callback messages

Const MIM_OPEN = MM_MIM_OPEN

Const MIM_CLOSE = MM_MIM_CLOSE

Const MIM_DATA = MM_MIM_DATA

Const MIM_LONGDATA = MM_MIM_LONGDATA

Const MIM_ERROR = MM_MIM_ERROR

Const MIM_LONGERROR = MM_MIM_LONGERROR

Const MOM_OPEN = MM_MOM_OPEN

Const MOM_CLOSE = MM_MOM_CLOSE

Const MOM_DONE = MM_MOM_DONE

' device ID for MIDI mapper

Const MIDIMAPPER = (-1) ' Cannot be cast to DWORD as RC complains

Const MIDI_MAPPER = -1&

' flags for wFlags parm of midiOutCachePatches(), midiOutCacheDrumPatches()

Const MIDI_CACHE_ALL = 1

Const MIDI_CACHE_BESTFIT = 2

Const MIDI_CACHE_QUERY = 3

Const MIDI_UNCACHE = 4

Const MIDI_CACHE_VALID = (MIDI_CACHE_ALL Or MIDI_CACHE_BESTFIT Or MIDI_CACHE_QUERY Or MIDI_UNCACHE) ' ;Internal

Type MIDIOUTCAPS

wMid As Integer

wPid As Integer

vDriverVersion As Long

szPname(0 To MAXPNAMELEN - 1) As Byte

wtechnology As Integer

wVoices As Integer

wNotes As Integer

wChannelMask As Integer

dwSupport As Long

End Type

' flags for wTechnology field of MIDIOUTCAPS structure

Const MOD_MIDIPORT = 1 ' output port

Const MOD_SYNTH = 2 ' generic internal synth

Const MOD_SQSYNTH = 3 ' square wave internal synth

Const MOD_FMSYNTH = 4 ' FM internal synth

Const MOD_MAPPER = 5 ' MIDI mapper

' flags for dwSupport field of MIDIOUTCAPS

Const MIDICAPS_VOLUME = &H1 ' supports volume control

Const MIDICAPS_LRVOLUME = &H2 ' separate left-right volume control

Const MIDICAPS_CACHE = &H4

Type MIDIINCAPS

wMid As Integer

wPid As Integer

vDriverVersion As Long

szPname(0 To MAXPNAMELEN - 1) As Byte

'#if (WINVER >= 0x0400)

dwSupport As Long

'#endif

End Type

' flags for dwFlags field of MIDIHDR structure

Const MHDR_DONE = &H1 ' done bit

Const MHDR_PREPARED = &H2 ' set if header prepared

Const MHDR_INQUEUE = &H4 ' reserved for driver

Const MHDR_VALID = &H7 ' valid flags / ;Internal /

Declare PtrSafe Function midiOutGetDevCaps Lib "winmm.dll" Alias "midiOutGetDevCapsA" (ByVal uDeviceID As LongPtr, lpCaps As MIDIOUTCAPS, ByVal uSize As Long) As Long

Declare PtrSafe Function midiOutGetVolume Lib "winmm.dll" Alias "midiOutGetVolume" (ByVal uDeviceID As LongPtr, lpdwVolume As Long) As Long

Declare PtrSafe Function midiOutSetVolume Lib "winmm.dll" Alias "midiOutSetVolume" (ByVal uDeviceID As LongPtr, ByVal dwVolume As Long) As Long

Declare PtrSafe Function midiOutGetErrorText Lib "winmm.dll" Alias "midiOutGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long

Declare PtrSafe Function midiOutOpen Lib "winmm.dll" Alias "midiOutOpen" (lphMidiOut As LongPtr, ByVal uDeviceID As Long, ByVal dwCallback As LongPtr, ByVal dwInstance As LongPtr, ByVal dwFlags As Long) As Long

Declare PtrSafe Function midiOutClose Lib "winmm.dll" Alias "midiOutClose" (ByVal hMidiOut As LongPtr) As Long

Declare PtrSafe Function midiOutPrepareHeader Lib "winmm.dll" Alias "midiOutPrepareHeader" (ByVal hMidiOut As LongPtr, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiOutUnprepareHeader Lib "winmm.dll" Alias "midiOutUnprepareHeader" (ByVal hMidiOut As LongPtr, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiOutShortMsg Lib "winmm.dll" Alias "midiOutShortMsg" (ByVal hMidiOut As LongPtr, ByVal dwMsg As Long) As Long

Declare PtrSafe Function midiOutLongMsg Lib "winmm.dll" Alias "midiOutLongMsg" (ByVal hMidiOut As LongPtr, lpMidiOutHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiOutReset Lib "winmm.dll" Alias "midiOutReset" (ByVal hMidiOut As LongPtr) As Long

Declare PtrSafe Function midiOutCachePatches Lib "winmm.dll" Alias "midiOutCachePatches" (ByVal hMidiOut As LongPtr, ByVal uBank As Long, lpPatchArray As Long, ByVal uFlags As Long) As Long

Declare PtrSafe Function midiOutCacheDrumPatches Lib "winmm.dll" Alias "midiOutCacheDrumPatches" (ByVal hMidiOut As LongPtr, ByVal uPatch As Long, lpKeyArray As Long, ByVal uFlags As Long) As Long

Declare PtrSafe Function midiOutGetID Lib "winmm.dll" Alias "midiOutGetID" (ByVal hMidiOut As LongPtr, lpuDeviceID As Long) As Long

Declare PtrSafe Function midiOutMessage Lib "winmm.dll" Alias "midiOutMessage" (ByVal hMidiOut As LongPtr, ByVal msg As Long, ByVal dw1 As LongPtr, ByVal dw2 As LongPtr) As Long

Declare PtrSafe Function midiInGetNumDevs Lib "winmm.dll" Alias "midiInGetNumDevs" () As Long

Declare PtrSafe Function midiInGetDevCaps Lib "winmm.dll" Alias "midiInGetDevCapsA" (ByVal uDeviceID As LongPtr, lpCaps As MIDIINCAPS, ByVal uSize As Long) As Long

Declare PtrSafe Function midiInGetErrorText Lib "winmm.dll" Alias "midiInGetErrorTextA" (ByVal err As Long, ByVal lpText As String, ByVal uSize As Long) As Long

Declare PtrSafe Function midiInOpen Lib "winmm.dll" Alias "midiInOpen" (lphMidiIn As LongPtr, ByVal uDeviceID As Long, ByVal dwCallback As LongPtr, ByVal dwInstance As LongPtr, ByVal dwFlags As Long) As Long

Declare PtrSafe Function midiInClose Lib "winmm.dll" Alias "midiInClose" (ByVal hMidiIn As LongPtr) As Long

Declare PtrSafe Function midiInPrepareHeader Lib "winmm.dll" Alias "midiInPrepareHeader" (ByVal hMidiIn As LongPtr, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiInUnprepareHeader Lib "winmm.dll" Alias "midiInUnprepareHeader" (ByVal hMidiIn As LongPtr, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiInAddBuffer Lib "winmm.dll" Alias "midiInAddBuffer" (ByVal hMidiIn As LongPtr, lpMidiInHdr As MIDIHDR, ByVal uSize As Long) As Long

Declare PtrSafe Function midiInStart Lib "winmm.dll" Alias "midiInStart" (ByVal hMidiIn As LongPtr) As Long

Declare PtrSafe Function midiInStop Lib "winmm.dll" Alias "midiInStop" (ByVal hMidiIn As LongPtr) As Long

Declare PtrSafe Function midiInReset Lib "winmm.dll" Alias "midiInReset" (ByVal hMidiIn As LongPtr) As Long

Declare PtrSafe Function midiInGetID Lib "winmm.dll" Alias "midiInGetID" (ByVal hMidiIn As LongPtr, lpuDeviceID As Long) As Long

Declare PtrSafe Function midiInMessage Lib "winmm.dll" Alias "midiInMessage" (ByVal hMidiIn As LongPtr, ByVal msg As Long, ByVal dw1 As LongPtr, ByVal dw2 As LongPtr) As Long

' device ID for aux device mapper

Const AUX_MAPPER = -1&

Type AUXCAPS

wMid As Integer

wPid As Integer

vDriverVersion As Long

szPname(0 To MAXPNAMELEN - 1) As Byte

wTechnology As Integer

wReserved1 As Integer

dwSupport As Long

End Type

' flags for wTechnology field in AUXCAPS structure

Const AUXCAPS_CDAUDIO = 1 ' audio from internal CD-ROM drive

Const AUXCAPS_AUXIN = 2 ' audio from auxiliary input jacks

' flags for dwSupport field in AUXCAPS structure

Const AUXCAPS_VOLUME = &H1 ' supports volume control

Const AUXCAPS_LRVOLUME = &H2 ' separate left-right volume control

Declare PtrSafe Function auxGetNumDevs Lib "winmm.dll" Alias "auxGetNumDevs" () As Long

Declare PtrSafe Function auxGetDevCaps Lib "winmm.dll" Alias "auxGetDevCapsA" (ByVal uDeviceID As LongPtr, lpCaps As AUXCAPS, ByVal uSize As Long) As Long

Declare PtrSafe Function auxSetVolume Lib "winmm.dll" Alias "auxSetVolume" (ByVal uDeviceID As Long, ByVal dwVolume As Long) As Long

Declare PtrSafe Function auxGetVolume Lib "winmm.dll" Alias "auxGetVolume" (ByVal uDeviceID As Long, lpdwVolume As Long) As Long

Declare PtrSafe Function auxOutMessage Lib "winmm.dll" Alias "auxOutMessage" (ByVal uDeviceID As Long, ByVal msg As Long, ByVal dw1 As LongPtr, ByVal dw2 As LongPtr) As Long

64位Office API声明语句第93讲

我20多年的VBA实践经验,全部浓缩在下面的各个教程中:

64位Office API声明语句第93讲

64位Office API声明语句第93讲

64位Office API声明语句第93讲

【分享成果,随喜正能量】很多时候我们生别人的气,仅仅是因为他们没有做我们原本该为自己做的事情。。

相关内容

标签: function lib midierr
招商银行ubank报错(招商银行错误代码一览表)文档下载: PDF DOC TXT