Commit 54afeb02 authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

user32: Implement Get/SetClassLongPtrA/W.

parent c142bd91
...@@ -3401,7 +3401,7 @@ struct set_class_info_request ...@@ -3401,7 +3401,7 @@ struct set_class_info_request
void* instance; void* instance;
int extra_offset; int extra_offset;
size_t extra_size; size_t extra_size;
unsigned int extra_value; unsigned long extra_value;
}; };
struct set_class_info_reply struct set_class_info_reply
{ {
...@@ -3411,7 +3411,7 @@ struct set_class_info_reply ...@@ -3411,7 +3411,7 @@ struct set_class_info_reply
int old_extra; int old_extra;
int old_win_extra; int old_win_extra;
void* old_instance; void* old_instance;
unsigned int old_extra_value; unsigned long old_extra_value;
}; };
#define SET_CLASS_ATOM 0x0001 #define SET_CLASS_ATOM 0x0001
#define SET_CLASS_STYLE 0x0002 #define SET_CLASS_STYLE 0x0002
...@@ -4382,6 +4382,6 @@ union generic_reply ...@@ -4382,6 +4382,6 @@ union generic_reply
struct query_symlink_reply query_symlink_reply; struct query_symlink_reply query_symlink_reply;
}; };
#define SERVER_PROTOCOL_VERSION 236 #define SERVER_PROTOCOL_VERSION 237
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */ #endif /* __WINE_WINE_SERVER_PROTOCOL_H */
...@@ -2384,14 +2384,14 @@ enum message_type ...@@ -2384,14 +2384,14 @@ enum message_type
void* instance; /* module instance */ void* instance; /* module instance */
int extra_offset; /* offset to set in extra bytes */ int extra_offset; /* offset to set in extra bytes */
size_t extra_size; /* size to set in extra bytes */ size_t extra_size; /* size to set in extra bytes */
unsigned int extra_value; /* value to set in extra bytes */ unsigned long extra_value; /* value to set in extra bytes */
@REPLY @REPLY
atom_t old_atom; /* previous class atom */ atom_t old_atom; /* previous class atom */
unsigned int old_style; /* previous class style */ unsigned int old_style; /* previous class style */
int old_extra; /* previous number of class extra bytes */ int old_extra; /* previous number of class extra bytes */
int old_win_extra; /* previous number of window extra bytes */ int old_win_extra; /* previous number of window extra bytes */
void* old_instance; /* previous module instance */ void* old_instance; /* previous module instance */
unsigned int old_extra_value; /* old value in extra bytes */ unsigned long old_extra_value; /* old value in extra bytes */
@END @END
#define SET_CLASS_ATOM 0x0001 #define SET_CLASS_ATOM 0x0001
#define SET_CLASS_STYLE 0x0002 #define SET_CLASS_STYLE 0x0002
......
...@@ -2983,7 +2983,7 @@ static void dump_set_class_info_request( const struct set_class_info_request *re ...@@ -2983,7 +2983,7 @@ static void dump_set_class_info_request( const struct set_class_info_request *re
fprintf( stderr, " instance=%p,", req->instance ); fprintf( stderr, " instance=%p,", req->instance );
fprintf( stderr, " extra_offset=%d,", req->extra_offset ); fprintf( stderr, " extra_offset=%d,", req->extra_offset );
fprintf( stderr, " extra_size=%lu,", (unsigned long)req->extra_size ); fprintf( stderr, " extra_size=%lu,", (unsigned long)req->extra_size );
fprintf( stderr, " extra_value=%08x", req->extra_value ); fprintf( stderr, " extra_value=%lx", req->extra_value );
} }
static void dump_set_class_info_reply( const struct set_class_info_reply *req ) static void dump_set_class_info_reply( const struct set_class_info_reply *req )
...@@ -2993,7 +2993,7 @@ static void dump_set_class_info_reply( const struct set_class_info_reply *req ) ...@@ -2993,7 +2993,7 @@ static void dump_set_class_info_reply( const struct set_class_info_reply *req )
fprintf( stderr, " old_extra=%d,", req->old_extra ); fprintf( stderr, " old_extra=%d,", req->old_extra );
fprintf( stderr, " old_win_extra=%d,", req->old_win_extra ); fprintf( stderr, " old_win_extra=%d,", req->old_win_extra );
fprintf( stderr, " old_instance=%p,", req->old_instance ); fprintf( stderr, " old_instance=%p,", req->old_instance );
fprintf( stderr, " old_extra_value=%08x", req->old_extra_value ); fprintf( stderr, " old_extra_value=%lx", req->old_extra_value );
} }
static void dump_set_clipboard_info_request( const struct set_clipboard_info_request *req ) static void dump_set_clipboard_info_request( const struct set_clipboard_info_request *req )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment