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

# RegisterMIMETypeForExtensionA(3w)

## NAME

**RegisterMIMETypeForExtensionA** (SHLWAPI.320)

## SYNOPSIS

BOOL RegisterMIMETypeForExtensionA\
  (\
   LPCSTR *lpszSubKey*,\
   LPCSTR *lpszValue*\
  )

## DESCRIPTION

Set a **MIME** content type in the registry.

## PARAMS

*lpszSubKey* **\[In\]**  Name of key under **HKEY\_CLASSES\_ROOT**.

*lpszValue* **\[In\]**  Value to set.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/reg.c"**.

Debug channel **"shell"**.
