---
name: "wine_server_call"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/wine_server_call"
---

# 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"**.
