---
name: "mtp_custom"
section: "3"
platform: "linux"
package: "libmtp-doc"
version: "1.1.22-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtp_custom"
---

# mtp\_custom(3)

custom

## NAME

libmtp - custom

## SYNOPSIS

### Functions

int **LIBMTP\_Custom\_Operation** (**LIBMTP\_mtpdevice\_t** \*, uint16\_t, int,...)\

## Detailed Description

## Function Documentation

### int LIBMTP\_Custom\_Operation (LIBMTP\_mtpdevice\_t \* device, uint16\_t code, int n\_param, ...)

Issue custom (e.g. vendor specific) operation (without data phase)

**Parameters**

*device* a pointer to the device to send custom operation to. \
 *code* operation code to send. \
 *n\_param* number of parameters passed. \
 *...* uint32\_t operation specific parameters.

References **LIBMTP\_mtpdevice\_struct::params**.

## Author

Generated automatically by Doxygen for libmtp from the source code.
