Reference

RegisterExtensionForMIMETypeA(3w)

NAME

RegisterExtensionForMIMETypeA (SHLWAPI.324)

SYNOPSIS

BOOL RegisterExtensionForMIMETypeA
(
LPCSTR lpszExt,
LPCSTR lpszType
)

DESCRIPTION

Set the file extension for a MIME content key.

PARAMS

lpszExt [In] File extension to set.

lpszType [In] Content type to set the extension for.

RETURNS

Success: TRUE. The file extension is set in the registry.

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