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

# GetMIMETypeSubKeyA(3w)

## NAME

**GetMIMETypeSubKeyA** (SHLWAPI.328)

## SYNOPSIS

BOOL GetMIMETypeSubKeyA\
  (\
   LPCSTR *lpszType*,\
   LPSTR  *lpszBuffer*,\
   DWORD  *dwLen*\
  )

## DESCRIPTION

Get the registry path to a **MIME** content key.

## PARAMS

*lpszType* **\[In\]**  Content type to get the path for.

*lpszBuffer* **\[Out\]**  Destination for path.

*dwLen* **\[In\]**  Length of *lpszBuffer*.

## RETURNS

**Success:** **TRUE**. *lpszBuffer* contains the full path.

**Failure:** **FALSE**.

## NOTES

The base path for the key is **"MIMEbase**

## 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"**.
