Microsoft (R) Macro Assembler Version 6.15.8803 12/16/03 22:28:49 ..\include\DX_errors.inc Page 1 - 1 ;-------------------------------------------------------------------------------- ; ; this file provides some error definitions ; converted from MS' DirectX SDK *.h files ; into asm format ; ; to convert it to errors.lst - input file for Errors.asm ; use: ; S.T.A.S. '03 ; ;-------------------------------------------------------------------------------- .NOLIST .LIST ; *************************************************************************** ; * ; * DIRECTDRAW ERRORS ; * ; * Errors are represented by negative values and cannot be combined. ; * ; *************************************************************************** ;;??? = 88760000 _FACDD EQU 88760000h; = _FACDD+ MAKE_DDHRESULT TEXTEQU <_FACDD+> ; This object is already initialized = 88760005 DDERR_ALREADYINITIALIZED EQU _FACDD + 5 ; This surface can not be attached to the requested surface. = 8876000A DDERR_CANNOTATTACHSURFACE EQU _FACDD + 10 ; This surface can not be detached from the requested surface. = 88760014 DDERR_CANNOTDETACHSURFACE EQU _FACDD + 20 ; Support is currently not available. = 88760028 DDERR_CURRENTLYNOTAVAIL EQU _FACDD + 40 ; An exception was encountered while performing the requested operation = 88760037 DDERR_EXCEPTION EQU _FACDD + 55 ; Generic failure. = 80000008 DDERR_GENERIC EQU E_FAIL ; Height of rectangle provided is not a multiple of reqd alignment = 8876005A DDERR_HEIGHTALIGN EQU _FACDD + 90 ; Unable to match primary surface creation request with existing ; primary surface. = 8876005F DDERR_INCOMPATIBLEPRIMARY EQU _FACDD + 95 ; One or more of the caps bits passed to the callback are incorrect. = 88760064 DDERR_INVALIDCAPS EQU _FACDD + 100 ; DirectDraw does not support provided Cliplist. = 8876006E DDERR_INVALIDCLIPLIST EQU _FACDD + 110 ; DirectDraw does not support the requested mode = 88760078 DDERR_INVALIDMODE EQU _FACDD + 120 ; DirectDraw received a pointer that was an invalid DIRECTDRAW object. = 88760082 DDERR_INVALIDOBJECT EQU _FACDD + 130 ; One or more of the parameters passed to the callback function are ; incorrect. = 80070057 DDERR_INVALIDPARAMS EQU E_INVALIDARG ; pixel format was invalid as specified = 88760091 DDERR_INVALIDPIXELFORMAT EQU _FACDD + 145 ; Rectangle provided was invalid. = 88760096 DDERR_INVALIDRECT EQU _FACDD + 150 ; Operation could not be carried out because one or more surfaces are locked = 887600A0 DDERR_LOCKEDSURFACES EQU _FACDD + 160 ; There is no 3D present. = 887600AA DDERR_NO3D EQU _FACDD + 170 ; Operation could not be carried out because there is no alpha accleration ; hardware present or available. = 887600B4 DDERR_NOALPHAHW EQU _FACDD + 180 ; Operation could not be carried out because there is no stereo ; hardware present or available. = 887600B5 DDERR_NOSTEREOHARDWARE EQU _FACDD + 181 ; Operation could not be carried out because there is no hardware ; present which supports stereo surfaces = 887600B6 DDERR_NOSURFACELEFT EQU _FACDD + 182 ; no clip list available = 887600CD DDERR_NOCLIPLIST EQU _FACDD + 205 ; Operation could not be carried out because there is no color conversion ; hardware present or available. = 887600D2 DDERR_NOCOLORCONVHW EQU _FACDD + 210 ; Create function called without DirectDraw object method SetCooperativeLevel ; being called. = 887600D4 DDERR_NOCOOPERATIVELEVELSET EQU _FACDD + 212 ; Surface doesn't currently have a color key = 887600D7 DDERR_NOCOLORKEY EQU _FACDD + 215 ; Operation could not be carried out because there is no hardware support ; of the dest color key. = 887600DC DDERR_NOCOLORKEYHW EQU _FACDD + 220 ; No DirectDraw support possible with current display driver = 887600DE DDERR_NODIRECTDRAWSUPPORT EQU _FACDD + 222 ; Operation requires the application to have exclusive mode but the ; application does not have exclusive mode. = 887600E1 DDERR_NOEXCLUSIVEMODE EQU _FACDD + 225 ; Flipping visible surfaces is not supported. = 887600E6 DDERR_NOFLIPHW EQU _FACDD + 230 ; There is no GDI present. = 887600F0 DDERR_NOGDI EQU _FACDD + 240 ; Operation could not be carried out because there is no hardware present ; or available. = 887600FA DDERR_NOMIRRORHW EQU _FACDD + 250 ; Requested item was not found = 887600FF DDERR_NOTFOUND EQU _FACDD + 255 ; Operation could not be carried out because there is no overlay hardware ; present or available. = 88760104 DDERR_NOOVERLAYHW EQU _FACDD + 260 ; Operation could not be carried out because the source and destination ; rectangles are on the same surface and overlap each other. = 8876010E DDERR_OVERLAPPINGRECTS EQU _FACDD + 270 ; Operation could not be carried out because there is no appropriate raster ; op hardware present or available. = 88760118 DDERR_NORASTEROPHW EQU _FACDD + 280 ; Operation could not be carried out because there is no rotation hardware ; present or available. = 88760122 DDERR_NOROTATIONHW EQU _FACDD + 290 ; Operation could not be carried out because there is no hardware support ; for stretching = 88760136 DDERR_NOSTRETCHHW EQU _FACDD + 310 ; DirectDrawSurface is not in 4 bit color palette and the requested operation ; requires 4 bit color palette. = 8876013C DDERR_NOT4BITCOLOR EQU _FACDD + 316 ; DirectDrawSurface is not in 4 bit color index palette and the requested ; operation requires 4 bit color index palette. = 8876013D DDERR_NOT4BITCOLORINDEX EQU _FACDD + 317 ; DirectDraw Surface is not in 8 bit color mode and the requested operation ; requires 8 bit color. = 88760140 DDERR_NOT8BITCOLOR EQU _FACDD + 320 ; Operation could not be carried out because there is no texture mapping ; hardware present or available. = 8876014A DDERR_NOTEXTUREHW EQU _FACDD + 330 ; Operation could not be carried out because there is no hardware support ; for vertical blank synchronized operations. = 8876014F DDERR_NOVSYNCHW EQU _FACDD + 335 ; Operation could not be carried out because there is no hardware support ; for zbuffer blting. = 88760154 DDERR_NOZBUFFERHW EQU _FACDD + 340 ; Overlay surfaces could not be z layered based on their BltOrder because ; the hardware does not support z layering of overlays. = 8876015E DDERR_NOZOVERLAYHW EQU _FACDD + 350 ; The hardware needed for the requested operation has already been ; allocated. = 88760168 DDERR_OUTOFCAPS EQU _FACDD + 360 ; DirectDraw does not have enough memory to perform the operation. = 8007000E DDERR_OUTOFMEMORY EQU E_OUTOFMEMORY ; DirectDraw does not have enough memory to perform the operation. = 8876017C DDERR_OUTOFVIDEOMEMORY EQU _FACDD + 380 ; hardware does not support clipped overlays = 8876017E DDERR_OVERLAYCANTCLIP EQU _FACDD + 382 ; Can only have ony color key active at one time for overlays = 88760180 DDERR_OVERLAYCOLORKEYONLYONEACTIVE EQU _FACDD + 384 ; Access to this palette is being refused because the palette is already ; locked by another thread. = 88760183 DDERR_PALETTEBUSY EQU _FACDD + 387 ; No src color key specified for this operation. = 88760190 DDERR_COLORKEYNOTSET EQU _FACDD + 400 ; This surface is already attached to the surface it is being attached to. = 8876019A DDERR_SURFACEALREADYATTACHED EQU _FACDD + 410 ; This surface is already a dependency of the surface it is being made a ; dependency of. = 887601A4 DDERR_SURFACEALREADYDEPENDENT EQU _FACDD + 420 ; Access to this surface is being refused because the surface is already ; locked by another thread. = 887601AE DDERR_SURFACEBUSY EQU _FACDD + 430 ; Access to this surface is being refused because no driver exists ; which can supply a pointer to the surface. ; This is most likely to happen when attempting to lock the primary ; surface when no DCI provider is present. ; Will also happen on attempts to lock an optimized surface. = 887601B3 DDERR_CANTLOCKSURFACE EQU _FACDD + 435 ; Access to Surface refused because Surface is obscured. = 887601B8 DDERR_SURFACEISOBSCURED EQU _FACDD + 440 ; Access to this surface is being refused because the surface is gone. ; The DIRECTDRAWSURFACE object representing this surface should ; have Restore called on it. = 887601C2 DDERR_SURFACELOST EQU _FACDD + 450 ; The requested surface is not attached. = 887601CC DDERR_SURFACENOTATTACHED EQU _FACDD + 460 ; Height requested by DirectDraw is too large. = 887601D6 DDERR_TOOBIGHEIGHT EQU _FACDD + 470 ; Size requested by DirectDraw is too large -- The individual height and ; width are OK. = 887601E0 DDERR_TOOBIGSIZE EQU _FACDD + 480 ; Width requested by DirectDraw is too large. = 887601EA DDERR_TOOBIGWIDTH EQU _FACDD + 490 ; Action not supported. = 80000001 DDERR_UNSUPPORTED EQU E_NOTIMPL ; Pixel format requested is unsupported by DirectDraw = 887601FE DDERR_UNSUPPORTEDFORMAT EQU _FACDD + 510 ; Bitmask in the pixel format requested is unsupported by DirectDraw = 88760208 DDERR_UNSUPPORTEDMASK EQU _FACDD + 520 ; The specified stream contains invalid data = 88760209 DDERR_INVALIDSTREAM EQU _FACDD + 521 ; vertical blank is in progress = 88760219 DDERR_VERTICALBLANKINPROGRESS EQU _FACDD + 537 ; Informs DirectDraw that the previous Blt which is transfering information ; to or from this Surface is incomplete. = 8876021C DDERR_WASSTILLDRAWING EQU _FACDD + 540 ; The specified surface type requires specification of the COMPLEX flag = 8876021E DDERR_DDSCAPSCOMPLEXREQUIRED EQU _FACDD + 542 ; Rectangle provided was not horizontally aligned on reqd. boundary = 88760230 DDERR_XALIGN EQU _FACDD + 560 ; The GUID passed to DirectDrawCreate is not a valid DirectDraw driver ; identifier. = 88760231 DDERR_INVALIDDIRECTDRAWGUID EQU _FACDD + 561 ; A DirectDraw object representing this driver has already been created ; for this process. = 88760232 DDERR_DIRECTDRAWALREADYCREATED EQU _FACDD + 562 ; A hardware only DirectDraw object creation was attempted but the driver ; did not support any hardware. = 88760233 DDERR_NODIRECTDRAWHW EQU _FACDD + 563 ; this process already has created a primary surface = 88760234 DDERR_PRIMARYSURFACEALREADYEXISTS EQU _FACDD + 564 ; software emulation not available. = 88760235 DDERR_NOEMULATION EQU _FACDD + 565 ; region passed to Clipper::GetClipList is too small. = 88760236 DDERR_REGIONTOOSMALL EQU _FACDD + 566 ; an attempt was made to set a clip list for a clipper objec that ; is already monitoring an hwnd. = 88760237 DDERR_CLIPPERISUSINGHWND EQU _FACDD + 567 ; No clipper object attached to surface object = 88760238 DDERR_NOCLIPPERATTACHED EQU _FACDD + 568 ; Clipper notification requires an HWND or ; no HWND has previously been set as the CooperativeLevel HWND. = 88760239 DDERR_NOHWND EQU _FACDD + 569 ; HWND used by DirectDraw CooperativeLevel has been subclassed, ; this prevents DirectDraw from restoring state. = 8876023A DDERR_HWNDSUBCLASSED EQU _FACDD + 570 ; The CooperativeLevel HWND has already been set. ; It can not be reset while the process has surfaces or palettes created. = 8876023B DDERR_HWNDALREADYSET EQU _FACDD + 571 ; No palette object attached to this surface. = 8876023C DDERR_NOPALETTEATTACHED EQU _FACDD + 572 ; No hardware support for 16 or 256 color palettes. = 8876023D DDERR_NOPALETTEHW EQU _FACDD + 573 ; If a clipper object is attached to the source surface passed into a ; BltFast call. = 8876023E DDERR_BLTFASTCANTCLIP EQU _FACDD + 574 ; No blter. = 8876023F DDERR_NOBLTHW EQU _FACDD + 575 ; No DirectDraw ROP hardware. = 88760240 DDERR_NODDROPSHW EQU _FACDD + 576 ; returned when GetOverlayPosition is called on a hidden overlay = 88760241 DDERR_OVERLAYNOTVISIBLE EQU _FACDD + 577 ; returned when GetOverlayPosition is called on a overlay that UpdateOverlay ; has never been called on to establish a destionation. = 88760242 DDERR_NOOVERLAYDEST EQU _FACDD + 578 ; returned when the position of the overlay on the destionation is no longer ; legal for that destionation. = 88760243 DDERR_INVALIDPOSITION EQU _FACDD + 579 ; returned when an overlay member is called for a non-overlay surface = 88760244 DDERR_NOTAOVERLAYSURFACE EQU _FACDD + 580 ; An attempt was made to set the cooperative level when it was already ; set to exclusive. = 88760245 DDERR_EXCLUSIVEMODEALREADYSET EQU _FACDD + 581 ; An attempt has been made to flip a surface that is not flippable. = 88760246 DDERR_NOTFLIPPABLE EQU _FACDD + 582 ; Can't duplicate primary & 3D surfaces, or surfaces that are implicitly ; created. = 88760247 DDERR_CANTDUPLICATE EQU _FACDD + 583 ; Surface was not locked. An attempt to unlock a surface that was not ; locked at all, or by this process, has been attempted. = 88760248 DDERR_NOTLOCKED EQU _FACDD + 584 ; Windows can not create any more DCs, or a DC was requested for a paltte-indexed ; surface when the surface had no palette AND the display mode was not palette-indexed ; (in this case DirectDraw cannot select a proper palette into the DC) = 88760249 DDERR_CANTCREATEDC EQU _FACDD + 585 ; No DC was ever created for this surface. = 8876024A DDERR_NODC EQU _FACDD + 586 ; This surface can not be restored because it was created in a different ; mode. = 8876024B DDERR_WRONGMODE EQU _FACDD + 587 ; This surface can not be restored because it is an implicitly created ; surface. = 8876024C DDERR_IMPLICITLYCREATED EQU _FACDD + 588 ; The surface being used is not a palette-based surface = 8876024D DDERR_NOTPALETTIZED EQU _FACDD + 589 ; The display is currently in an unsupported mode = 8876024E DDERR_UNSUPPORTEDMODE EQU _FACDD + 590 ; Operation could not be carried out because there is no mip-map ; texture mapping hardware present or available. = 8876024F DDERR_NOMIPMAPHW EQU _FACDD + 591 ; The requested action could not be performed because the surface was of ; the wrong type. = 88760250 DDERR_INVALIDSURFACETYPE EQU _FACDD + 592 ; Device does not support optimized surfaces, therefore no video memory optimized surfaces = 88760258 DDERR_NOOPTIMIZEHW EQU _FACDD + 600 ; Surface is an optimized surface, but has not yet been allocated any memory = 88760259 DDERR_NOTLOADED EQU _FACDD + 601 ; Attempt was made to create or set a device window without first setting ; the focus window = 8876025A DDERR_NOFOCUSWINDOW EQU _FACDD + 602 ; Attempt was made to set a palette on a mipmap sublevel = 8876025B DDERR_NOTONMIPMAPSUBLEVEL EQU _FACDD + 603 ; A DC has already been returned for this surface. Only one DC can be ; retrieved per surface. = 8876026C DDERR_DCALREADYCREATED EQU _FACDD + 620 ; An attempt was made to allocate non-local video memory from a device ; that does not support non-local video memory. = 88760276 DDERR_NONONLOCALVIDMEM EQU _FACDD + 630 ; The attempt to page lock a surface failed. = 88760280 DDERR_CANTPAGELOCK EQU _FACDD + 640 ; The attempt to page unlock a surface failed. = 88760294 DDERR_CANTPAGEUNLOCK EQU _FACDD + 660 ; An attempt was made to page unlock a surface with no outstanding page locks. = 887602A8 DDERR_NOTPAGELOCKED EQU _FACDD + 680 ; There is more data available than the specified buffer size could hold = 887602B2 DDERR_MOREDATA EQU _FACDD + 690 ; The data has expired and is therefore no longer valid. = 887602B3 DDERR_EXPIRED EQU _FACDD + 691 ; The mode test has finished executing. = 887602B4 DDERR_TESTFINISHED EQU _FACDD + 692 ; The mode test has switched to a new mode. = 887602B5 DDERR_NEWMODE EQU _FACDD + 693 ; D3D has not yet been initialized. = 887602B6 DDERR_D3DNOTINITIALIZED EQU _FACDD + 694 ; The video port is not active = 887602B7 DDERR_VIDEONOTACTIVE EQU _FACDD + 695 ; The monitor does not have EDID data. = 887602B8 DDERR_NOMONITORINFORMATION EQU _FACDD + 696 ; The driver does not enumerate display mode refresh rates. = 887602B9 DDERR_NODRIVERSUPPORT EQU _FACDD + 697 ; Surfaces created by one direct draw device cannot be used directly by ; another direct draw device. = 887602BB DDERR_DEVICEDOESNTOWNSURFACE EQU _FACDD + 699 ; An attempt was made to invoke an interface member of a DirectDraw object ; created by CoCreateInstance() before it was initialized. = CO_E_NOTINITIALIZED DDERR_NOTINITIALIZED EQU CO_E_NOTINITIALIZED ; Alpha bit depth constants ; *************************************************************************** ; * ; * DIRECTSOUND ERRORS ; * ; *************************************************************************** = 8780 _FACDS EQU 8780h ; The function completed successfully, but we had to substitute the 3D algorithm = 0878000A DS_NO_VIRTUALIZATION EQU 0 or _FACDS*1000h or 10 ; The call failed because resources (such as a priority level) ; were already being used by another caller = 8878000A DSERR_ALLOCATED EQU 80000000h or _FACDS*1000h or 10 ; The control (vol,pan,etc.) requested by the caller is not available = 8878001E DSERR_CONTROLUNAVAIL EQU 80000000h or _FACDS*1000h or 30 ; An invalid parameter was passed to the returning function = 80070057 DSERR_INVALIDPARAM EQU E_INVALIDARG ; This call is not valid for the current state of this object = 88780032 DSERR_INVALIDCALL EQU 80000000h or _FACDS*1000h or 50 ; An undetermined error occured inside the DirectSound subsystem = 80000008 DSERR_GENERIC EQU E_FAIL ; The caller does not have the priority level required for the function to succeed = 88780046 DSERR_PRIOLEVELNEEDED EQU 80000000h or _FACDS*1000h or 70 ; Not enough free memory is available to complete the operation = 8007000E DSERR_OUTOFMEMORY EQU E_OUTOFMEMORY ; The specified WAVE format is not supported = 88780064 DSERR_BADFORMAT EQU 80000000h or _FACDS*1000h or 100 ; The function called is not supported at this time = 80000001 DSERR_UNSUPPORTED EQU E_NOTIMPL ; No sound driver is available for use = 88780078 DSERR_NODRIVER EQU 80000000h or _FACDS*1000h or 120 ; This object is already initialized = 88780082 DSERR_ALREADYINITIALIZED EQU 80000000h or _FACDS*1000h or 130 ; This object does not support aggregation = 80040110 DSERR_NOAGGREGATION EQU CLASS_E_NOAGGREGATION ; The buffer memory has been lost, and must be restored = 88780096 DSERR_BUFFERLOST EQU 80000000h or _FACDS*1000h or 150 ; Another app has a higher priority level, preventing this call from succeeding = 887800A0 DSERR_OTHERAPPHASPRIO EQU 80000000h or _FACDS*1000h or 160 ; This object has not been initialized = 887800AA DSERR_UNINITIALIZED EQU 80000000h or _FACDS*1000h or 170 ; The requested COM interface is not available = 80004002 DSERR_NOINTERFACE EQU E_NOINTERFACE ; Access is denied = 80070005 DSERR_ACCESSDENIED EQU E_ACCESSDENIED ; *************************************************************************** ; * ; * DIRECTINPUT ERRORS ; * ; *************************************************************************** ;The device is a polled device. As a result, device buffering ;will not collect any data and event notifications will not be ;signalled until GetDeviceState is called. = 80000002 DI_POLLEDDEVICE = 80000000h or 00000002h ;The parameters of the effect were successfully updated by ;IDirectInputEffect::SetParameters, but the effect was not ;downloaded because the device is not exclusively acquired ;or because the DIEP_NODOWNLOAD flag was passed. = 80000003 DI_DOWNLOADSKIPPED = 80000000h or 00000003h ;The parameters of the effect were successfully updated by ;IDirectInputEffect::SetParameters, but in order to change ;the parameters, the effect needed to be restarted. = 80000004 DI_EFFECTRESTARTED = 80000000h or 00000004h ;The parameters of the effect were successfully updated by ;IDirectInputEffect::SetParameters, but some of them were ;beyond the capabilities of the device and were truncated. = 80000008 DI_TRUNCATED = 80000000h or 00000008h ;Equal to DI_EFFECTRESTARTED | DI_TRUNCATED. = 8000000C DI_TRUNCATEDANDRESTARTED = 80000000h or 0000000Ch = 0007 FACILITY_WIN32 = 7 = 0001 SEVERITY_ERROR = 1 = 80070000 MAKE_HRES = SEVERITY_ERROR*80000000h OR FACILITY_WIN32*10000H ;The application requires a newer version of DirectInput. ;DIERR_OLDDIRECTINPUTVERSION = MAKE_HRES or ERROR_OLD_WIN_VERSION ;The application was written for an unsupported prerelease version ;of DirectInput. ;DIERR_BETADIRECTINPUTVERSION = MAKE_HRES or ERROR_RMODE_APP ;The object could not be created due to an incompatible driver version ;or mismatched or incomplete driver components. = 80070077 DIERR_BADDRIVERVER = MAKE_HRES or ERROR_BAD_DRIVER_LEVEL ;The device or device instance or effect is not registered with DirectInput. = REGDB_E_CLASSNOTREG DIERR_DEVICENOTREG EQU REGDB_E_CLASSNOTREG ;The requested object does not exist. = 80070002 DIERR_NOTFOUND = MAKE_HRES or ERROR_FILE_NOT_FOUND ;The requested object does not exist. = 80070002 DIERR_OBJECTNOTFOUND = MAKE_HRES or ERROR_FILE_NOT_FOUND ;An invalid parameter was passed to the returning function, ;or the object was not in a state that admitted the function ;to be called. = 80070057 DIERR_INVALIDPARAM = E_INVALIDARG ;The specified interface is not supported by the object = 80004002 DIERR_NOINTERFACE = E_NOINTERFACE ;An undetermined error occured inside the DInput subsystem = 80000008 DIERR_GENERIC = E_FAIL ;The DInput subsystem couldn't allocate sufficient memory to complete the ;caller's request. = 8007000E DIERR_OUTOFMEMORY = E_OUTOFMEMORY ;The function called is not supported at this time = 80000001 DIERR_UNSUPPORTED = E_NOTIMPL ;This object has not been initialized = 80070015 DIERR_NOTINITIALIZED = MAKE_HRES or ERROR_NOT_READY ;This object is already initialized ;DIERR_ALREADYINITIALIZED = MAKE_HRES or ERROR_ALREADY_INITIALIZED ;This object does not support aggregation = 80040110 DIERR_NOAGGREGATION = CLASS_E_NOAGGREGATION ;Another app has a higher priority level, preventing this call from ;succeeding. = 80070005 DIERR_OTHERAPPHASPRIO = E_ACCESSDENIED ;Access to the device has been lost. It must be re-acquired. = 8007001E DIERR_INPUTLOST = MAKE_HRES or ERROR_READ_FAULT ;The operation cannot be performed while the device is acquired. = 800700AA DIERR_ACQUIRED = MAKE_HRES or ERROR_BUSY ;The operation cannot be performed unless the device is acquired. = 8007000C DIERR_NOTACQUIRED = MAKE_HRES or ERROR_INVALID_ACCESS ;The specified property cannot be changed. = 80070005 DIERR_READONLY = E_ACCESSDENIED ;The device already has an event notification associated with it. = 80070005 DIERR_HANDLEEXISTS = E_ACCESSDENIED ;Data is not yet available. = 8000000A E_PENDING = 8000000Ah ;Unable to IDirectInputJoyConfig_Acquire because the user ;does not have sufficient privileges to change the joystick ;configuration. = 80040200 DIERR_INSUFFICIENTPRIVS = 80040200h ;The device is full. = 80040201 DIERR_DEVICEFULL = 80040201h ;Not all the requested information fit into the buffer. = 80040202 DIERR_MOREDATA = 80040202h ;The effect is not downloaded. = 04C5510B DIERR_NOTDOWNLOADED = 80040203 ;The device cannot be reinitialized because there are still effects ;attached to it. = 80040204 DIERR_HASEFFECTS = 80040204h ;The operation cannot be performed unless the device is acquired ;in DISCL_EXCLUSIVE mode. = 80040205 DIERR_NOTEXCLUSIVEACQUIRED = 80040205h ;The effect could not be downloaded because essential information ;is missing. For example, no axes have been associated with the ;effect, or no type-specific information has been created. = 80040206 DIERR_INCOMPLETEEFFECT = 80040206h ;Attempted to read buffered device data from a device that is ;not buffered. = 80040207 DIERR_NOTBUFFERED = 80040207h ;An attempt was made to modify parameters of an effect while it is ;playing. Not all hardware devices support altering the parameters ;of an effect while it is playing. = 80040208 DIERR_EFFECTPLAYING = 80040208h ;The operation could not be completed because the device is not ;plugged in. = 80040209 DIERR_UNPLUGGED = 80040209h ;SendDeviceData failed because more information was requested ;to be sent than can be sent to the device. Some devices have ;restrictions on how much data can be sent to them. (For example, ;there might be a limit on the number of buttons that can be ;pressed at once.) = 8004020A DIERR_REPORTFULL = 8004020Ah ; *********************************************************************** ; * * ; * DIRECT MUSIC ERRORS * ; * * ; *********************************************************************** ; Shared with DirectSound = 08780000 FACILITY_DIRECTMUSIC EQU 08780000h ; The object could only load partially. This can happen if some components are ; not registered properly, such as embedded tracks and tools. = 08781091 DMUS_S_PARTIALLOAD EQU 008781091h ; This code indicates that a band download was only successful in reaching ; some, but not all, of the referenced ports. Some samples may not play ; correctly. = 08781092 DMUS_S_PARTIALDOWNLOAD EQU 008781092h ; Return value from IDirectMusicTool::ProcessPMsg() which indicates to the ; performance that it should cue the PMsg again automatically. = 08781200 DMUS_S_REQUEUE EQU 008781200h ; Return value from IDirectMusicTool::ProcessPMsg() which indicates to the ; performance that it should free the PMsg automatically. = 08781201 DMUS_S_FREE EQU 008781201h ; Return value from IDirectMusicTrack::Play() which indicates to the ; segment that the track has no more data after mtEnd. = 08781202 DMUS_S_END EQU 008781202h ; Returned string has been truncated to fit the buffer size. = 08781210 DMUS_S_STRING_TRUNCATED EQU 008781210h ; Returned from IDirectMusicGraph::StampPMsg(), this indicates that the PMsg ; is already stamped with the last tool in the graph. The returned PMsg's ; tool pointer is now NULL. = 08781211 DMUS_S_LAST_TOOL EQU 008781211h ; Returned from IDirectMusicPerformance::MusicToMIDI(), this indicates ; that no note has been calculated because the music value has the note ; at a position higher than the top note of the chord. This applies only ; to DMUS_PLAYMODE_NORMALCHORD play mode. This success code indicates ; that the caller should not do anything with the note. It is not meant ; to be played against this chord. = 08781212 DMUS_S_OVER_CHORD EQU 008781212h ; Returned from IDirectMusicPerformance::MIDIToMusic(), and ; IDirectMusicPerformance::MusicToMIDI(), this indicates ; that the note conversion generated a note value that is below 0, ; so it has been bumped up one or more octaves to be in the proper ; MIDI range of 0 through 127. ; Note that this is valid for MIDIToMusic() when using play modes ; DMUS_PLAYMODE_FIXEDTOCHORD and DMUS_PLAYMODE_FIXEDTOKEY, both of ; which store MIDI values in wMusicValue. With MusicToMIDI(), it is ; valid for all play modes. ; Ofcourse, DMUS_PLAYMODE_FIXED will never return this success code. = 08781213 DMUS_S_UP_OCTAVE EQU 008781213h ; Returned from IDirectMusicPerformance::MIDIToMusic(), and ; IDirectMusicPerformance::MusicToMIDI(), this indicates ; that the note conversion generated a note value that is above 127, ; so it has been bumped down one or more octaves to be in the proper ; MIDI range of 0 through 127. ; Note that this is valid for MIDIToMusic() when using play modes ; DMUS_PLAYMODE_FIXEDTOCHORD and DMUS_PLAYMODE_FIXEDTOKEY, both of ; which store MIDI values in wMusicValue. With MusicToMIDI(), it is ; valid for all play modes. ; Ofcourse, DMUS_PLAYMODE_FIXED will never return this success code. = 08781214 DMUS_S_DOWN_OCTAVE EQU 008781214h ; Although the audio output from the port will be routed to the ; same device as the given DirectSound buffer, buffer controls ; such as pan and volume will not affect the output. = 08781215 DMUS_S_NOBUFFERCONTROL EQU 008781215h ; An unexpected error was returned from a device driver, indicating ; possible failure of the driver or hardware. = 88781101 DMUS_E_DRIVER_FAILED EQU 088781101h ; The requested operation cannot be performed while there are ; instantiated ports in any process in the system. = 88781102 DMUS_E_PORTS_OPEN EQU 088781102h ; The requested device is already in use (possibly by a non-DirectMusic ; client) and cannot be opened again. = 88781103 DMUS_E_DEVICE_IN_USE EQU 088781103h ; Buffer is not large enough for requested operation. = 88781104 DMUS_E_INSUFFICIENTBUFFER EQU 088781104h ; No buffer was prepared for the download data. = 88781105 DMUS_E_BUFFERNOTSET EQU 088781105h ; Download failed due to inability to access or create download buffer. = 88781106 DMUS_E_BUFFERNOTAVAILABLE EQU 088781106h ; Error parsing DLS collection. File is corrupt. = 88781108 DMUS_E_NOTADLSCOL EQU 088781108h ; Wave chunks in DLS collection file are at incorrect offsets. = 88781109 DMUS_E_INVALIDOFFSET EQU 088781109h ; Second attempt to load a DLS collection that is currently open. = 88781111 DMUS_E_ALREADY_LOADED EQU 088781111h ; Error reading wave data from DLS collection. Indicates bad file. = 88781113 DMUS_E_INVALIDPOS EQU 088781113h ; There is no instrument in the collection that matches patch number. = 88781114 DMUS_E_INVALIDPATCH EQU 088781114h ; The IStream* doesn't support Seek(). = 88781115 DMUS_E_CANNOTSEEK EQU 088781115h ; The IStream* doesn't support Write(). = 88781116 DMUS_E_CANNOTWRITE EQU 088781116h ; The RIFF parser doesn't contain a required chunk while parsing file. = 88781117 DMUS_E_CHUNKNOTFOUND EQU 088781117h ; Invalid download id was used in the process of creating a download buffer. = 88781119 DMUS_E_INVALID_DOWNLOADID EQU 088781119h ; Tried to unload an object that was not downloaded or previously unloaded. = 88781120 DMUS_E_NOT_DOWNLOADED_TO_PORT EQU 088781120h ; Buffer was already downloaded to synth. = 88781121 DMUS_E_ALREADY_DOWNLOADED EQU 088781121h ; The specified property item was not recognized by the target object. = 88781122 DMUS_E_UNKNOWN_PROPERTY EQU 088781122h ; The specified property item may not be set on the target object. = 88781123 DMUS_E_SET_UNSUPPORTED EQU 088781123h ; The specified property item may not be retrieved from the target object. = 88781124 DMUS_E_GET_UNSUPPORTED EQU 088781124h ; Wave chunk has more than one interleaved channel. DLS format requires MONO. = 88781125 DMUS_E_NOTMONO EQU 088781125h ; Invalid articulation chunk in DLS collection. = 88781126 DMUS_E_BADARTICULATION EQU 088781126h ; Invalid instrument chunk in DLS collection. = 88781127 DMUS_E_BADINSTRUMENT EQU 088781127h ; Wavelink chunk in DLS collection points to invalid wave. = 88781128 DMUS_E_BADWAVELINK EQU 088781128h ; Articulation missing from instrument in DLS collection. = 88781129 DMUS_E_NOARTICULATION EQU 088781129h ; Downoaded DLS wave is not in PCM format. = 8878112A DMUS_E_NOTPCM EQU 08878112ah ; Bad wave chunk in DLS collection = 8878112B DMUS_E_BADWAVE EQU 08878112bh ; Offset Table for download buffer has errors. = 8878112C DMUS_E_BADOFFSETTABLE EQU 08878112ch ; Attempted to download unknown data type. = 8878112D DMUS_E_UNKNOWNDOWNLOAD EQU 08878112dh ; The operation could not be completed because no sink was connected to ; the synthesizer. = 8878112E DMUS_E_NOSYNTHSINK EQU 08878112eh ; An attempt was made to open the software synthesizer while it was already ; open. ; ASSERT? = 8878112F DMUS_E_ALREADYOPEN EQU 08878112fh ; An attempt was made to close the software synthesizer while it was already ; open. ; ASSERT? = 88781130 DMUS_E_ALREADYCLOSED EQU 088781130h ; The operation could not be completed because the software synth has not ; yet been fully configured. ; ASSERT? = 88781131 DMUS_E_SYNTHNOTCONFIGURED EQU 088781131h ; The operation cannot be carried out while the synthesizer is active. = 88781132 DMUS_E_SYNTHACTIVE EQU 088781132h ; An error occurred while attempting to read from the IStream* object. = 88781133 DMUS_E_CANNOTREAD EQU 088781133h ; The operation cannot be performed because the final instance of the ; DirectMusic object was released. Ports cannot be used after final ; release of the DirectMusic object. = 88781134 DMUS_E_DMUSIC_RELEASED EQU 088781134h ; There was no data in the referenced buffer. = 88781135 DMUS_E_BUFFER_EMPTY EQU 088781135h ; There is insufficient space to insert the given event into the buffer. = 88781136 DMUS_E_BUFFER_FULL EQU 088781136h ; The given operation could not be carried out because the port is a ; capture port. = 88781137 DMUS_E_PORT_NOT_CAPTURE EQU 088781137h ; The given operation could not be carried out because the port is a ; render port. = 88781138 DMUS_E_PORT_NOT_RENDER EQU 088781138h ; The port could not be created because no DirectSound has been specified. ; Specify a DirectSound interface via the IDirectMusic::SetDirectSound ; method; pass NULL to have DirectMusic manage usage of DirectSound. = 88781139 DMUS_E_DSOUND_NOT_SET EQU 088781139h ; The operation cannot be carried out while the port is active. = 8878113A DMUS_E_ALREADY_ACTIVATED EQU 08878113ah ; Invalid DirectSound buffer was handed to port. = 8878113B DMUS_E_INVALIDBUFFER EQU 08878113bh ; Invalid buffer format was handed to the synth sink. = 8878113C DMUS_E_WAVEFORMATNOTSUPPORTED EQU 08878113ch ; The operation cannot be carried out while the synthesizer is inactive. = 8878113D DMUS_E_SYNTHINACTIVE EQU 08878113dh ; IDirectMusic::SetDirectSound has already been called. It may not be ; changed while in use. = 8878113E DMUS_E_DSOUND_ALREADY_SET EQU 08878113eh ; The given event is invalid (either it is not a valid MIDI message ; or it makes use of running status). The event cannot be packed ; into the buffer. = 8878113F DMUS_E_INVALID_EVENT EQU 08878113fh ; The IStream* object does not contain data supported by the loading object. = 88781150 DMUS_E_UNSUPPORTED_STREAM EQU 088781150h ; The object has already been initialized. = 88781151 DMUS_E_ALREADY_INITED EQU 088781151h ; The file does not contain a valid band. = 88781152 DMUS_E_INVALID_BAND EQU 088781152h ; The IStream* object's data does not have a track header as the first chunk, ; and therefore can not be read by the segment object. = 88781155 DMUS_E_TRACK_HDR_NOT_FIRST_CK EQU 088781155h ; The IStream* object's data does not have a tool header as the first chunk, ; and therefore can not be read by the graph object. = 88781156 DMUS_E_TOOL_HDR_NOT_FIRST_CK EQU 088781156h ; The IStream* object's data contains an invalid track header (ckid is 0 and ; fccType is NULL,) and therefore can not be read by the segment object. = 88781157 DMUS_E_INVALID_TRACK_HDR EQU 088781157h ; The IStream* object's data contains an invalid tool header (ckid is 0 and ; fccType is NULL,) and therefore can not be read by the graph object. = 88781158 DMUS_E_INVALID_TOOL_HDR EQU 088781158h ; The graph object was unable to load all tools from the IStream* object data. ; This may be due to errors in the stream, or the tools being incorrectly ; registered on the client. = 88781159 DMUS_E_ALL_TOOLS_FAILED EQU 088781159h ; The segment object was unable to load all tracks from the IStream* object data. ; This may be due to errors in the stream, or the tracks being incorrectly ; registered on the client. = 88781160 DMUS_E_ALL_TRACKS_FAILED EQU 088781160h ; The requested item was not contained by the object. = 88781161 DMUS_E_NOT_FOUND EQU 088781161h ; A required object is not initialized or failed to initialize. = 88781162 DMUS_E_NOT_INIT EQU 088781162h ; The requested parameter type is currently disabled. Parameter types may ; be enabled and disabled by certain calls to SetParam(). = 88781163 DMUS_E_TYPE_DISABLED EQU 088781163h ; The requested parameter type is not supported on the object. = 88781164 DMUS_E_TYPE_UNSUPPORTED EQU 088781164h ; The time is in the past, and the operation can not succeed. = 88781165 DMUS_E_TIME_PAST EQU 088781165h ; The requested track is not contained by the segment. = 88781166 DMUS_E_TRACK_NOT_FOUND EQU 088781166h ; There is no master clock in the performance. Be sure to call ; IDirectMusicPerformance::Init(). = 88781170 DMUS_E_NO_MASTER_CLOCK EQU 088781170h ; The class id field is required and missing in the DMUS_OBJECTDESC. = 88781180 DMUS_E_LOADER_NOCLASSID EQU 088781180h ; The requested file path is invalid. = 88781181 DMUS_E_LOADER_BADPATH EQU 088781181h ; File open failed - either file doesn't exist or is locked. = 88781182 DMUS_E_LOADER_FAILEDOPEN EQU 088781182h ; Search data type is not supported. = 88781183 DMUS_E_LOADER_FORMATNOTSUPPORTED EQU 088781183h ; Unable to find or create object. = 88781184 DMUS_E_LOADER_FAILEDCREATE EQU 088781184h ; Object was not found. = 88781185 DMUS_E_LOADER_OBJECTNOTFOUND EQU 088781185h ; The file name is missing from the DMUS_OBJECTDESC. = 88781186 DMUS_E_LOADER_NOFILENAME EQU 088781186h ; The file requested is not a valid file. = 88781200 DMUS_E_INVALIDFILE EQU 088781200h ; The tool is already contained in the graph. Create a new instance. = 88781201 DMUS_E_ALREADY_EXISTS EQU 088781201h ; Value is out of range, for instance the requested length is longer than ; the segment. = 88781202 DMUS_E_OUT_OF_RANGE EQU 088781202h ; Segment initialization failed, most likely due to a critical memory situation. = 88781203 DMUS_E_SEGMENT_INIT_FAILED EQU 088781203h ; The DMUS_PMSG has already been sent to the performance object via ; IDirectMusicPerformance::SendPMsg(). = 88781204 DMUS_E_ALREADY_SENT EQU 088781204h ; The DMUS_PMSG was either not allocated by the performance via ; IDirectMusicPerformance::AllocPMsg(), or it was already freed via ; IDirectMusicPerformance::FreePMsg(). = 88781205 DMUS_E_CANNOT_FREE EQU 088781205h ; The default system port could not be opened. = 88781206 DMUS_E_CANNOT_OPEN_PORT EQU 088781206h ; A call to MIDIToMusic() or MusicToMIDI() resulted in an error because ; the requested conversion could not happen. This usually occurs when the ; provided DMUS_CHORD_KEY structure has an invalid chord or scale pattern. = 88781207 DMUS_E_CONNOT_CONVERT EQU 088781207h ; DMUS_E_DESCEND_CHUNK_FAIL is returned when the end of the file ; was reached before the desired chunk was found. = 88781210 DMUS_E_DESCEND_CHUNK_FAIL EQU 088781210h END