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

# MprAdminGetErrorString(3w)

## NAME

**MprAdminGetErrorString** (MPRAPI.@)

## SYNOPSIS

DWORD APIENTRY  MprAdminGetErrorString\
  (\
   DWORD   *mprerror*,\
   LPWSTR\* *localstr*\
  )

## DESCRIPTION

Return a unicode string for the given mpr errorcode.

## PARAMS

*mprerror* **\[In\]**  errorcode, for which a description is requested.

*localstr* **\[Out\]**  pointer, where a buffer with the error description is returned.

## RETURNS

**Failure:** **ERROR\_MR\_MID\_NOT\_FOUND**, when *mprerror* is not known

**Success:** **ERROR\_SUCCESS**, and in *localstr* a pointer to a buffer from LocalAlloc, which contains the error description.

## NOTES

The caller must free the returned buffer with LocalFree

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/mprapi/mprapi.c"**.

Debug channel **"mprapi"**.
