This commit is contained in:
C-o-r-E 2013-02-19 16:43:57 -05:00
commit 567ee5a64a
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ int wf_directsound_activate(rdpsnd_server_context* context)
if (FAILED(hr))
{
_tprintf(_T("Failed to create sound capture device\n"));
return;
return 1;
}
_tprintf(_T("Created sound capture device\n"));

View File

@ -54,7 +54,8 @@ int get_screen_info(int id, _TCHAR* name, int* width, int* height, int* bpp)
*width = GetDeviceCaps(dc, HORZRES);
*height = GetDeviceCaps(dc, VERTRES);
*bpp = GetDeviceCaps(dc, BITSPIXEL);
ReleaseDC(NULL, dc);
//ReleaseDC(NULL, dc);
DeleteDC(dc);
}
else