Kelly Leahy kellyleahy@swbell.net writes:
@@ -60,6 +64,9 @@ INT (*pGetObjectW)( HGDIOBJ handle, void *obj, INT count, LPVOID buffer ); BOOL (*pUnrealizeObject)( HGDIOBJ handle, void *obj ); BOOL (*pDeleteObject)( HGDIOBJ handle, void *obj );
- INT (*pGetObjectSizeA)( HGDIOBJ handle, void *obj );
- INT (*pGetObjectSizeW)( HGDIOBJ handle, void *obj );
- INT (*pGetObjectSize16)( HGDIOBJ handle, void *obj );
You should put the fix directly in the pGetObject[AW] functions, instead of adding new functions that don't correspond to anything in the Windows API. Even though this is an internal interface it should be kept as similar as possible to the exported interface.