Scroll to navigation

wine_server_call(3w) Wine API wine_server_call(3w)

NAME

wine_server_call (NTDLL.@)

SYNOPSIS

unsigned int wine_server_call
(
void* req_ptr
)
 

DESCRIPTION

Perform a server call.
 

PARAMS

req_ptr [In/Out] Function dependent data.
 

RETURNS

Depends on server function being called, but usually an NTSTATUS code.
 

NOTES

Use the SERVER_START_REQ and SERVER_END_REQ to help you fill out the server request structure for the particular call. E.g:
 

SERVER_START_REQ( event_op )
 

{
 

req->handle = handle;
 

req->op = SET_EVENT;
 

ret = wine_server_call( req );
 

}
 

SERVER_END_REQ;
 

IMPLEMENTATION

Declared in "wine/server.h".
Implemented in "dlls/ntdll/server.c".
Debug channel "server".
Oct 2012 Wine API