[PATCH 1/3] user32/winex11: Move 32-bit cursor/icon structure to 32-bit header.

Alexandre Julliard julliard at winehq.org
Wed Feb 10 04:36:18 CST 2010


Erich Hoover <ehoover at mines.edu> writes:

> --- a/include/winuser.h
> +++ b/include/winuser.h
> @@ -98,6 +98,17 @@ typedef HANDLE HDWP;
>  #define WSF_VISIBLE     1
>  #define DF_ALLOWOTHERACCOUNTHOOK  1
>  
> +typedef struct tagWINECURSORICON {
> +    POINT                ptHotSpot;
> +    WORD                 nWidth;
> +    WORD                 nHeight;
> +    WORD                 nWidthBytes;
> +    BYTE                 bPlanes;
> +    BYTE                 bBitsPerPixel;
> +    DWORD                frame_size_and;
> +    DWORD                frame_size_xor;
> +} WINECURSORICON;

You can't do that, private structures have nothing to do in public
header files. They also can't be part of the user driver API.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list