Reference

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) to obtain a pointer to the function.

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

Debug channel "shell".

History