mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 21:31:22 +00:00
fix correct implement of GetPath
svn path=/trunk/; revision=28718
This commit is contained in:
parent
dfa9b6f56f
commit
87dc60c75b
1 changed files with 17 additions and 8 deletions
|
@ -91,16 +91,25 @@ FlattenPath(
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
int
|
INT
|
||||||
STDCALL
|
STDCALL
|
||||||
GetPath(
|
GetPath(HDC hdc,
|
||||||
HDC hdc,
|
LPPOINT pptlBuf,
|
||||||
LPPOINT a1,
|
LPBYTE pjTypes,
|
||||||
LPBYTE a2,
|
INT cptBuf)
|
||||||
int a3
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return NtGdiGetPath ( hdc, a1, a2, a3 );
|
INT retValue = -1;
|
||||||
|
|
||||||
|
if (GDI_HANDLE_GET_TYPE(hdc) != GDI_OBJECT_TYPE_METADC)
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
retValue = NtGdiGetPath(hdc,pptlBuf,pjTypes,cptBuf);
|
||||||
|
}
|
||||||
|
|
||||||
|
return retValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue