CITATION(Khertan @ 08/03/2007 à 22:44 )

Oui sauf qu'un WinHandle c'est un handle ... donc une variable sur 4 octets ... gniéééé
Ah ouais
Moi qui croyais qu'il s'agissait d'un vulgaire ID 16 bits...
En cherchant un peu, je trouve:
typedef struct WindowType
#ifdef ALLOW_ACCESS_TO_INTERNALS_OF_WINDOWS // These fields will not be available in the next OS release!
{
Coord displayWidthV20; // use WinGetDisplayExtent instead
Coord displayHeightV20; // use WinGetDisplayExtent instead
void* displayAddrV20; // use the drawing functions instead
WindowFlagsType windowFlags;
RectangleType windowBounds;
AbsRectType clippingBounds;
BitmapPtr bitmapP;
FrameBitsType frameType;
DrawStateType* drawStateP; // was GraphicStatePtr
struct WindowType* nextWindow;
}
#endif
WindowType;
typedef WindowType *WinPtr;
typedef WindowType *WinHandle;