mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
Implement DirectDrawEnumerateW, DirectDrawEnumerateExW they always return DDERR_UNSUPPORTED
svn path=/trunk/; revision=30682
This commit is contained in:
parent
de3d1d2725
commit
f249b4f16d
|
@ -204,17 +204,6 @@ DirectDrawEnumerateA( LPDDENUMCALLBACKA lpCallback,
|
||||||
return retValue;
|
return retValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* UNIMPLEMENT
|
|
||||||
*/
|
|
||||||
|
|
||||||
HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW lpCallback,
|
|
||||||
LPVOID lpContext)
|
|
||||||
{
|
|
||||||
DX_STUB;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* UNIMPLEMENT
|
* UNIMPLEMENT
|
||||||
*/
|
*/
|
||||||
|
@ -255,9 +244,13 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA lpCallback,
|
||||||
return DDERR_UNSUPPORTED;
|
return DDERR_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
HRESULT
|
||||||
* UNIMPLEMENT
|
WINAPI
|
||||||
*/
|
DirectDrawEnumerateW(LPDDENUMCALLBACKW lpCallback,
|
||||||
|
LPVOID lpContext)
|
||||||
|
{
|
||||||
|
return DDERR_UNSUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT
|
HRESULT
|
||||||
WINAPI
|
WINAPI
|
||||||
|
@ -265,10 +258,12 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback,
|
||||||
LPVOID lpContext,
|
LPVOID lpContext,
|
||||||
DWORD dwFlags)
|
DWORD dwFlags)
|
||||||
{
|
{
|
||||||
/* Note this function are not longer supported in ddraw in windows 2003 */
|
return DDERR_UNSUPPORTED;
|
||||||
DX_STUB;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
|
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
|
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
|
(dp2command->bCommand >= D3DDP2OP_LINELIST) ) // dp2command->bCommand >= with 15 to 255
|
||||||
{
|
{
|
||||||
/* set error code for command 0 to 3, 8 and 15 to 255 */
|
/* set error code for command 0 to 3, 8 and 15 to 255 */
|
||||||
retCode = E_FAIL;
|
retCode = DDERR_INVALIDPARAMS;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ /* set error code for 4 - 7, 9 - 12, 14 */
|
{ /* set error code for 4 - 7, 9 - 12, 14 */
|
||||||
|
|
Loading…
Reference in a new issue