Commit c76ad35a authored by Alexandre Julliard's avatar Alexandre Julliard

Added get_page_size function.

parent 8b8828f5
......@@ -149,6 +149,12 @@ static void mapping_destroy( struct object *obj )
if (mapping->file) release_object( mapping->file );
}
int get_page_size(void)
{
if (!page_mask) init_page_size();
return page_mask + 1;
}
/* create a file mapping */
DECL_HANDLER(create_mapping)
{
......
......@@ -159,6 +159,10 @@ extern int free_console( struct process *process );
extern int debugger_attach( struct process *process, struct thread *debugger );
extern void debug_exit_thread( struct thread *thread, int exit_code );
/* mapping functions */
extern int get_page_size(void);
extern int debug_level;
#endif /* __WINE_SERVER_OBJECT_H */
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