The information in this article applies to:
SYMPTOMS
In the original version of Win32, there is no IsGdiObject() function in the Win32 API. However, the new function GetObjectType can be used as a replacement for IsGDIObject.
CAUSEThe Windows 3.1 IsGDIObject function has been enhanced and renamed to GetObjectType. In addition to verifying that an object handle refers to a GDI object, GetObjectType also returns a value that describes what kind of object the handle represents. RESOLUTIONYou can use the following macro to aid in porting your programs that were originally designed for Windows 3.1:
STATUSThis behavior is by design. Additional query words: 3.10
Keywords : kbNTOS350 kbNTOS351 kbNTOS400 kbSDKWin32 kbWinOS95 kbDSupport |
Last Reviewed: June 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |