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

# SHFileOperationA(3w)

## NAME

**SHFileOperationA** (SHELL32.@)

## SYNOPSIS

int SHFileOperationA\
  (\
   LPSHFILEOPSTRUCTA *lpFileOp*\
  )

## DESCRIPTION

Function to copy, move, delete and create one or more files with optional user prompts.

## PARAMS

*lpFileOp* **\[In/Out\]**  pointer to a structure containing all the necessary information.

## RETURNS

**Success:** **ERROR\_SUCCESS**.

**Failure:** **ERROR\_CANCELLED**.

## NOTES

exported by name

## IMPLEMENTATION

Declared in **"shellapi.h"**.

Implemented in **"dlls/shell32/shlfileop.c"**.

Debug channel **"shell"**.
