NAME

AssocGetPerceivedType  (SHLWAPI.@)

SYNOPSIS

 HRESULT AssocGetPerceivedType
 (
  LPCWSTR    lpszExt,
  PERCEIVED* lpType,
  INT*       lpFlag,
  LPWSTR*    lppszType
 )

DESCRIPTION

Detect the type of a file by inspecting its extension.

PARAMS

lpszExt [In] File extension to evaluate.
lpType [Out] Pointer to perceived type.
lpFlag [Out] Pointer to perceived type flag.
lppszType [Out] Address to pointer for perceived type text.

RETURNS

Success: S_OK. lpType and lpFlag contain the perceived type and its information. If lppszType is not NULL, it will point to a string with perceived type text.

Failure: An HRESULT error code indicating the error.

NOTES

lppszType is optional and it can be NULL. if lpType or lpFlag are NULL, the function will crash. if lpszExt is NULL, an error is returned.

BUGS

Unimplemented.

IMPLEMENTATION

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

Implemented in "dlls/shlwapi/assoc.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/assoc.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.