AssocGetPerceivedType (SHLWAPI.@)
HRESULT AssocGetPerceivedType ( LPCWSTR lpszExt, PERCEIVED* lpType, INT* lpFlag, LPWSTR* lppszType )
Detect the type of a file by inspecting its extension.
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. |
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.
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.
Unimplemented.
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.