Implement GdiIs*DC functions.

This commit is contained in:
Mike McCormack 2005-04-14 13:57:55 +00:00 committed by Alexandre Julliard
parent 95ebdc63c6
commit 556c976b8f
2 changed files with 37 additions and 1 deletions

View File

@ -2138,3 +2138,37 @@ BOOL WINAPI SetMiterLimit(HDC hdc, FLOAT eNewLimit, PFLOAT peOldLimit)
} }
return bRet; return bRet;
} }
/*******************************************************************
* GdiIsMetaPrintDC [GDI32.@]
*/
BOOL WINAPI GdiIsMetaPrintDC(HDC hdc)
{
FIXME("%p\n", hdc);
return FALSE;
}
/*******************************************************************
* GdiIsMetaFileDC [GDI32.@]
*/
BOOL WINAPI GdiIsMetaFileDC(HDC hdc)
{
TRACE("%p\n", hdc);
switch( GetObjectType( hdc ) )
{
case OBJ_METADC:
case OBJ_ENHMETADC:
return TRUE;
}
return FALSE;
}
/*******************************************************************
* GdiIsPlayMetafileDC [GDI32.@]
*/
BOOL WINAPI GdiIsPlayMetafileDC(HDC hdc)
{
FIXME("%p\n", hdc);
return FALSE;
}

View File

@ -160,7 +160,9 @@
@ stub GdiGetLocalDC @ stub GdiGetLocalDC
@ stub GdiGetLocalFont @ stub GdiGetLocalFont
@ stdcall GdiGradientFill(long ptr long ptr long long) @ stdcall GdiGradientFill(long ptr long ptr long long)
@ stub GdiIsMetaFileDC @ stdcall GdiIsMetaFileDC(long)
@ stdcall GdiIsMetaPrintDC(long)
@ stdcall GdiIsPlayMetafileDC(long)
@ stub GdiPlayDCScript @ stub GdiPlayDCScript
@ stub GdiPlayJournal @ stub GdiPlayJournal
@ stub GdiPlayScript @ stub GdiPlayScript