Implement DirectDrawEnumerateW, DirectDrawEnumerateExW they always return DDERR_UNSUPPORTED

svn path=/trunk/; revision=30682
This commit is contained in:
Magnus Olsen 2007-11-22 19:36:16 +00:00
parent de3d1d2725
commit f249b4f16d

View file

@ -204,17 +204,6 @@ DirectDrawEnumerateA( LPDDENUMCALLBACKA lpCallback,
return retValue;
}
/*
* UNIMPLEMENT
*/
HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW lpCallback,
LPVOID lpContext)
{
DX_STUB;
}
/*
* UNIMPLEMENT
*/
@ -255,9 +244,13 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA lpCallback,
return DDERR_UNSUPPORTED;
}
/*
* UNIMPLEMENT
*/
HRESULT
WINAPI
DirectDrawEnumerateW(LPDDENUMCALLBACKW lpCallback,
LPVOID lpContext)
{
return DDERR_UNSUPPORTED;
}
HRESULT
WINAPI
@ -265,10 +258,12 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback,
LPVOID lpContext,
DWORD dwFlags)
{
/* Note this function are not longer supported in ddraw in windows 2003 */
DX_STUB;
return DDERR_UNSUPPORTED;
}
/*
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
Display_d/hh/Display_d/d3d_21ac30ea-9803-401e-b541-6b08af79653d.xml.asp
@ -376,7 +371,7 @@ D3DParseUnknownCommand( LPVOID lpCmd,
(dp2command->bCommand >= D3DDP2OP_LINELIST) ) // dp2command->bCommand >= with 15 to 255
{
/* set error code for command 0 to 3, 8 and 15 to 255 */
retCode = E_FAIL;
retCode = DDERR_INVALIDPARAMS;
}
else
{ /* set error code for 4 - 7, 9 - 12, 14 */