kernel32: Add basic OpenProcess test, make it pass under Wine

Robert Shearman rob at codeweavers.com
Mon Nov 6 09:54:22 CST 2006


Dmitry Timoshkov wrote:
> Hello,
>
> Changelog:
>     kernel32: Add basic OpenProcess test, make it pass under Wine.
>
> @@ -1960,7 +1961,7 @@ NTSTATUS WINAPI NtFlushVirtualMemory( HA
>      NTSTATUS status = STATUS_SUCCESS;
>      void *addr = ROUND_ADDR( *addr_ptr, page_mask );
>  
> -    if (!is_current_process( process ))
> +    if (!is_current_process( process, PROCESS_VM_OPERATION ))
>      {
>          ERR("Unsupported on other process\n");
>          return STATUS_ACCESS_DENIED;
>
>   

Does this fix a real application or is it something that could just as 
easily be deferred until these remote operations are supported?

-- 
Rob Shearman




More information about the wine-devel mailing list