SHGetLocalizedName function shell32

int SHGetLocalizedName(
  1. Pointer<Utf16> pszPath,
  2. Pointer<Utf16> pszResModule,
  3. int cch,
  4. Pointer<Int32> pidsRes,
)

Retrieves the localized name of a file in a Shell folder.

SHSTDAPI SHGetLocalizedName(
  [in]  PCWSTR pszPath,
  [out] PWSTR  pszResModule,
        UINT   cch,
  [out] int    *pidsRes
);

Implementation

int SHGetLocalizedName(
  Pointer<Utf16> pszPath,
  Pointer<Utf16> pszResModule,
  int cch,
  Pointer<Int32> pidsRes,
) => _SHGetLocalizedName(pszPath, pszResModule, cch, pidsRes);