---
name: "wine_server_fd_to_handle"
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_fd_to_handle"
---

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

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

Allocate a file *handle* for a Unix file descriptor.

## PARAMS

*fd* **\[In\]**  Unix file descriptor.

*access* **\[In\]**  Win32 *access* flags.

*attributes* **\[In\]**  Object *attributes*.

*handle* **\[Out\]**  Address where Wine file *handle* will be stored.

## RETURNS

**NTSTATUS** code

## IMPLEMENTATION

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

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

Debug channel **"server"**.
