亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dxerr.c

?? 游戲類程序源代碼---WinDoom 3D源程序.zip
?? C
?? 第 1 頁 / 共 2 頁
字號:
/////////////////////////////////////////////////////////////////////////////////////
// DirectX Includes...
/////////////////////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <ddraw.h>
#include <dinput.h>
#include <dsound.h>

void WriteDebug(char *);

void DS_Error( HRESULT hresult, char *msg )
   {
    char msgtext[128];
    char errmsg[128];
    switch(hresult)
       {
        case DS_OK:
             strcpy(errmsg,"The request completed successfully.");
             break;

        case DSERR_ALLOCATED:
             strcpy(errmsg,"The request failed because resources, such as a priority level, were already in use by another caller.");
             break;

        case DSERR_ALREADYINITIALIZED:
             strcpy(errmsg,"The object is already initialized.");
             break;

        case DSERR_BADFORMAT:
             strcpy(errmsg,"The specified wave format is not supported.");
             break;

        case DSERR_BUFFERLOST:
             strcpy(errmsg,"The buffer memory has been lost and must be restored.");
             break;

        case DSERR_CONTROLUNAVAIL:
             strcpy(errmsg,"The control (volume, pan, and so forth) requested by the caller is not available.");
             break;

        case DSERR_GENERIC:
             strcpy(errmsg,"An undetermined error occurred inside the DirectSound subsystem.");
             break;

        case DSERR_INVALIDCALL:
             strcpy(errmsg,"This function is not valid for the current state of this object.");
             break;

        case DSERR_INVALIDPARAM:
             strcpy(errmsg,"An invalid parameter was passed to the returning function.");
             break;

        case DSERR_NOAGGREGATION:
             strcpy(errmsg,"The object does not support aggregation.");
             break;

        case DSERR_NODRIVER:
             strcpy(errmsg,"No sound driver is available for use.");
             break;

        case DSERR_OTHERAPPHASPRIO:
             strcpy(errmsg,"This value is obsolete and is not used.");
             break;

        case DSERR_OUTOFMEMORY:
             strcpy(errmsg,"The DirectSound subsystem could not allocate sufficient memory to complete the caller's request.");
             break;

        case DSERR_PRIOLEVELNEEDED:
             strcpy(errmsg,"The caller does not have the priority level required for the function to succeed.");
             break;

        case DSERR_UNINITIALIZED:
             strcpy(errmsg,"The IDirectSound::Initialize method has not been called or has not been called successfully before other methods were called.");
             break;

        case DSERR_UNSUPPORTED:
             strcpy(errmsg,"The function called is not supported at this time.");
             break;

        default:
             sprintf(errmsg,"Unknown Error Code: %04X", hresult);
             strcpy(errmsg, msgtext);
             break;
       }

    sprintf(msgtext, "DSERR: %s\n", errmsg);
    WriteDebug( msgtext );
    sprintf(msgtext, "%s FAILED\n", msg);
    WriteDebug( msgtext );
   }

void DD_Error( HRESULT hresult, char *msg )
   {
    static char msgtext[128];
    static char errmsg[128];
    switch(hresult)
       {
        case DD_OK:
             strcpy(errmsg,"The request completed successfully.");
             break;

        case DDERR_ALREADYINITIALIZED:
             strcpy(errmsg,"The object has already been initialized.");
             break;

        case DDERR_BLTFASTCANTCLIP:
             strcpy(errmsg,"A DirectDrawClipper object is attached to a source surface that has passed into a call to the IDirectDrawSurface2::BltFast method.");
             break;

        case DDERR_CANNOTATTACHSURFACE:
             strcpy(errmsg,"A surface cannot be attached to another requested surface.");
             break;

        case DDERR_CANNOTDETACHSURFACE:
             strcpy(errmsg,"A surface cannot be detached from another requested surface.");
             break;

        case DDERR_CANTCREATEDC:
             strcpy(errmsg,"Windows cannot create any more device contexts (DCs).");
             break;

        case DDERR_CANTDUPLICATE:
             strcpy(errmsg,"Primary and 3D surfaces, or surfaces that are implicitly created, cannot be duplicated.");
             break;

        case DDERR_CANTLOCKSURFACE:
             strcpy(errmsg,"Access to this surface is refused because an attempt was made to lock the primary surface without DCI support.");
             break;

        case DDERR_CANTPAGELOCK:
             strcpy(errmsg,"An attempt to page lock a surface failed. Page lock will not work on a display-memory surface or an emulated primary surface.");
             break;

        case DDERR_CANTPAGEUNLOCK:
             strcpy(errmsg,"An attempt to page unlock a surface failed. Page unlock will not work on a display-memory surface or an emulated primary surface.");
             break;

        case DDERR_CLIPPERISUSINGHWND:
             strcpy(errmsg,"An attempt was made to set a clip list for a DirectDrawClipper object that is already monitoring a window handle.");
             break;

        case DDERR_COLORKEYNOTSET:
             strcpy(errmsg,"No source color key is specified for this operation.");
             break;

        case DDERR_CURRENTLYNOTAVAIL:
             strcpy(errmsg,"No support is currently available.");
             break;

        case DDERR_DCALREADYCREATED:
             strcpy(errmsg,"A device context (DC) has already been returned for this surface. Only one DC can be retrieved for each surface.");
             break;

        case DDERR_DIRECTDRAWALREADYCREATED:
             strcpy(errmsg,"A DirectDraw object representing this driver has already been created for this process.");
             break;

        case DDERR_EXCEPTION:
             strcpy(errmsg,"An exception was encountered while performing the requested operation.");
             break;

        case DDERR_EXCLUSIVEMODEALREADYSET:
             strcpy(errmsg,"An attempt was made to set the cooperative level when it was already set to exclusive.");
             break;

        case DDERR_GENERIC:
             strcpy(errmsg,"There is an undefined error condition.");
             break;

        case DDERR_HEIGHTALIGN:
             strcpy(errmsg,"The height of the provided rectangle is not a multiple of the required alignment.");
             break;

        case DDERR_HWNDALREADYSET:
             strcpy(errmsg,"The DirectDraw cooperative level window handle has already been set. It cannot be reset while the process has surfaces or palettes created.");
             break;

        case DDERR_HWNDSUBCLASSED:
             strcpy(errmsg,"DirectDraw is prevented from restoring state because the DirectDraw cooperative level window handle has been subclassed.");
             break;

        case DDERR_IMPLICITLYCREATED:
             strcpy(errmsg,"The surface cannot be restored because it is an implicitly created surface.");
             break;

        case DDERR_INCOMPATIBLEPRIMARY:
             strcpy(errmsg,"The primary surface creation request does not match with the existing primary surface.");
             break;

        case DDERR_INVALIDCAPS:
             strcpy(errmsg,"One or more of the capability bits passed to the callback function are incorrect.");
             break;

        case DDERR_INVALIDCLIPLIST:
             strcpy(errmsg,"DirectDraw does not support the provided clip list.");
             break;

        case DDERR_INVALIDDIRECTDRAWGUID:
             strcpy(errmsg,"The globally unique identifier (GUID) passed to the DirectDrawCreate function is not a valid DirectDraw driver identifier.");
             break;

        case DDERR_INVALIDMODE:
             strcpy(errmsg,"DirectDraw does not support the requested mode.");
             break;

        case DDERR_INVALIDOBJECT:
             strcpy(errmsg,"DirectDraw received a pointer that was an invalid DirectDraw object.");
             break;

        case DDERR_INVALIDPARAMS:
             strcpy(errmsg,"One or more of the parameters passed to the method are incorrect.");
             break;

        case DDERR_INVALIDPIXELFORMAT:
             strcpy(errmsg,"The pixel format was invalid as specified.");
             break;

        case DDERR_INVALIDPOSITION:
             strcpy(errmsg,"The position of the overlay on the destination is no longer legal.");
             break;

        case DDERR_INVALIDRECT:
             strcpy(errmsg,"The provided rectangle was invalid.");
             break;

        case DDERR_INVALIDSURFACETYPE:
             strcpy(errmsg,"The requested operation could not be performed because the surface was of the wrong type.");
             break;

        case DDERR_LOCKEDSURFACES:
             strcpy(errmsg,"One or more surfaces are locked, causing the failure of the requested operation.");
             break;

        case DDERR_NO3D:
             strcpy(errmsg,"No 3D hardware or emulation is present.");
             break;

        case DDERR_NOALPHAHW:
             strcpy(errmsg,"No alpha acceleration hardware is present or available, causing the failure of the requested operation.");
             break;

        case DDERR_NOBLTHW:
             strcpy(errmsg,"No blitter hardware is present.");
             break;

        case DDERR_NOCLIPLIST:
             strcpy(errmsg,"No clip list is available.");
             break;

        case DDERR_NOCLIPPERATTACHED:
             strcpy(errmsg,"No DirectDrawClipper object is attached to the surface object.");
             break;

        case DDERR_NOCOLORCONVHW:
             strcpy(errmsg,"The operation cannot be carried out because no color-conversion hardware is present or available.");
             break;

        case DDERR_NOCOLORKEY:
             strcpy(errmsg,"The surface does not currently have a color key.");
             break;

        case DDERR_NOCOLORKEYHW:
             strcpy(errmsg,"The operation cannot be carried out because there is no hardware support for the destination color key.");
             break;

        case DDERR_NOCOOPERATIVELEVELSET:
             strcpy(errmsg,"A create function is called without the IDirectDraw2::SetCooperativeLevel method being called.");
             break;

        case DDERR_NODC:
             strcpy(errmsg,"No DC has ever been created for this surface.");
             break;

        case DDERR_NODDROPSHW:
             strcpy(errmsg,"No DirectDraw raster operation (ROP) hardware is available.");
             break;

        case DDERR_NODIRECTDRAWHW:
             strcpy(errmsg,"Hardware-only DirectDraw object creation is not possible; the driver does not support any hardware.");
             break;

        case DDERR_NODIRECTDRAWSUPPORT:
             strcpy(errmsg,"DirectDraw support is not possible with the current display driver.");
             break;

        case DDERR_NOEMULATION:
             strcpy(errmsg,"Software emulation is not available.");
             break;

        case DDERR_NOEXCLUSIVEMODE:
             strcpy(errmsg,"The operation requires the application to have exclusive mode, but the application does not have exclusive mode.");
             break;

        case DDERR_NOFLIPHW:
             strcpy(errmsg,"Flipping visible surfaces is not supported.");
             break;

        case DDERR_NOGDI:
             strcpy(errmsg,"No GDI is present.");
             break;

        case DDERR_NOHWND:
             strcpy(errmsg,"Clipper notification requires a window handle, or no window handle has been previously set as the cooperative level window handle.");
             break;

        case DDERR_NOMIPMAPHW:
             strcpy(errmsg,"The operation cannot be carried out because no mipmap texture mapping hardware is present or available.");
             break;

        case DDERR_NOMIRRORHW:
             strcpy(errmsg,"The operation cannot be carried out because no mirroring hardware is present or available.");
             break;

        case DDERR_NOOVERLAYDEST:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久精品人体av艺术| 亚洲久本草在线中文字幕| 中文字幕久久午夜不卡| 亚洲福中文字幕伊人影院| 成人午夜电影久久影院| 欧美精品乱人伦久久久久久| 国产精品色婷婷| 免费高清在线一区| 在线视频国内一区二区| 国产视频一区二区在线| 青青草原综合久久大伊人精品| 91免费在线视频观看| 亚洲综合一区二区三区| 国产精品综合一区二区| 欧美一二三区在线观看| 五月天丁香久久| 在线看国产一区二区| 亚洲欧美怡红院| 懂色av一区二区夜夜嗨| 久久久精品天堂| 国产一区在线看| 精品国产一区二区三区忘忧草| 日日夜夜免费精品视频| 欧美在线999| 亚洲一区中文日韩| 欧亚一区二区三区| 亚洲国产精品一区二区久久 | 精品女同一区二区| 日韩中文字幕麻豆| 91精品国产91综合久久蜜臀| 日韩在线一区二区| 日韩欧美一级二级三级| 老色鬼精品视频在线观看播放| 日韩西西人体444www| 久久av资源网| 欧美激情资源网| 不卡电影免费在线播放一区| 一区在线播放视频| 色999日韩国产欧美一区二区| 亚洲一区二区偷拍精品| 在线观看91精品国产麻豆| 天天色 色综合| 91麻豆精品国产91| 美日韩一区二区| 国产欧美日韩精品a在线观看| 国产大片一区二区| 亚洲欧美在线视频| 色婷婷精品久久二区二区蜜臂av | 国产精品国产三级国产aⅴ入口| 成人午夜碰碰视频| 亚洲精品一二三| 欧美精品高清视频| 久久精品国产亚洲aⅴ | 国产美女精品一区二区三区| 国产午夜精品一区二区三区视频| 高清av一区二区| 亚洲一区免费在线观看| 日韩一级精品视频在线观看| 国产一区二区三区四区五区入口 | 久久午夜羞羞影院免费观看| 国产一区二区三区国产| 国产精品成人免费在线| 欧美日韩一区二区三区在线看| 欧美a级理论片| 中文字幕巨乱亚洲| 6080午夜不卡| 粉嫩aⅴ一区二区三区四区五区 | 中文字幕亚洲成人| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 美女视频免费一区| 中文字幕在线观看不卡视频| 欧美日韩dvd在线观看| 国产一区二区剧情av在线| 亚洲美女淫视频| 久久亚洲免费视频| 欧美亚州韩日在线看免费版国语版| 美女一区二区在线观看| 亚洲女子a中天字幕| 精品1区2区在线观看| 91官网在线观看| 国产成人精品网址| 日韩高清在线电影| 亚洲色图欧美激情| 久久久久国色av免费看影院| 欧美色图第一页| 成人黄页毛片网站| 国内外成人在线| 免费在线视频一区| 亚洲一区成人在线| 亚洲欧洲国产专区| 1区2区3区国产精品| 国产亚洲成年网址在线观看| 日韩情涩欧美日韩视频| 欧美日韩精品一区二区三区| 成人av在线资源网站| 极品美女销魂一区二区三区| 日韩电影在线观看一区| 亚洲欧美日韩国产中文在线| 国产精品久久久久一区二区三区| 日韩精品一区二区三区四区| 欧美夫妻性生活| 欧美精品一级二级| 欧美精品日韩一区| 欧美日韩国产精品成人| 在线观看91精品国产入口| 99久久久久久99| 95精品视频在线| 99麻豆久久久国产精品免费| 国产99精品视频| 国产成人一区在线| 国产伦精品一区二区三区免费| 另类小说综合欧美亚洲| 久久精品免费看| 国产一区二区三区日韩| 国产精品18久久久| 成人高清视频免费观看| 99久久国产免费看| 99国产精品久久久久| 91麻豆国产在线观看| 91免费视频网址| 欧美性受xxxx| 91精品国产综合久久婷婷香蕉 | 色综合一个色综合| 色综合久久中文综合久久97| 欧美综合天天夜夜久久| 欧美日韩精品一区二区| 日韩欧美一二三区| 久久久夜色精品亚洲| 久久久99精品久久| 日韩理论片中文av| 亚洲妇熟xx妇色黄| 免费人成网站在线观看欧美高清| 精品在线亚洲视频| av综合在线播放| 欧美日韩国产高清一区| 精品国精品国产尤物美女| 中文一区一区三区高中清不卡| 亚洲少妇30p| 日韩和欧美的一区| 国产精品亚洲综合一区在线观看| 91丨porny丨户外露出| 欧美人妖巨大在线| 国产亚洲综合性久久久影院| 美女视频一区在线观看| 国产精品资源网站| 欧美写真视频网站| 欧美sm美女调教| 亚洲欧美另类小说| 日韩极品在线观看| av在线不卡电影| 欧美日韩高清一区二区不卡| 久久久久久久久岛国免费| 亚洲精品视频在线观看网站| 蜜桃av一区二区| 99v久久综合狠狠综合久久| 91麻豆精品国产91久久久更新时间| 国产欧美一区二区精品秋霞影院| 亚洲综合久久久久| 成人自拍视频在线| 欧美丰满高潮xxxx喷水动漫| 国产精品青草综合久久久久99| 亚洲妇熟xx妇色黄| 成人高清免费观看| 欧美精品一区二区三区一线天视频 | 粉嫩av一区二区三区| 欧美区一区二区三区| 中文字幕一区在线观看视频| 另类调教123区| 欧美日韩三级在线| 综合久久久久综合| 久久成人免费网| 欧美日韩国产一区二区三区地区| 欧美国产成人在线| 国产综合色在线视频区| 欧美一区二区三区四区五区| 亚洲另类色综合网站| 成人精品免费网站| 精品sm捆绑视频| 日韩电影一区二区三区四区| 91首页免费视频| 日本一区二区免费在线| 五月综合激情网| 日本高清不卡aⅴ免费网站| 日本一区二区免费在线观看视频| 免费在线视频一区| 欧美一区二区三区免费在线看| 有码一区二区三区| 91丝袜美女网| **性色生活片久久毛片| 成人三级在线视频| 国产精品嫩草影院av蜜臀| 粉嫩久久99精品久久久久久夜| 久久久综合网站| 国产精品一区二区久激情瑜伽| 精品国产伦一区二区三区免费| 麻豆久久久久久久| 337p粉嫩大胆噜噜噜噜噜91av| 国内精品免费在线观看| 久久综合久久99| 国产高清不卡一区|