---
name: "wine_server_handle_to_fd"
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_handle_to_fd"
---

# wine\_server\_handle\_to\_fd(3w)

## NAME

**wine\_server\_handle\_to\_fd** (NTDLL.@)

## SYNOPSIS

int CDECL  wine\_server\_handle\_to\_fd\
  (\
   HANDLE        *handle*,\
   unsigned int  *access*,\
   int\*          *unix\_fd*,\
   unsigned int\* *options*\
  )

## DESCRIPTION

Retrieve the file descriptor corresponding to a file *handle*.

## PARAMS

*handle* **\[In\]**  Wine file *handle*.

*access* **\[In\]**  Win32 file *access* rights requested.

*unix\_fd* **\[Out\]**  Address where Unix file descriptor will be stored.

*options* **\[Out\]**  Address where the file open *options* will be stored. Optional.

## RETURNS

**NTSTATUS** code

## IMPLEMENTATION

Declared in **"wine/server.h"**.

Implemented in **"dlls/ntdll/server.c"**.

Debug channel **"server"**.
