This function removes the indicated library from the record of loaded MUI satellite libraries.


HRESULT MLClearMLHInstance (HINSTANCE hInstance);


The hInstance argument is a module handle for an MUI satellite library such as loaded through MLLoadLibrary.

Return Value

The function returns zero for success, else an error code.


If the DPA for all records of loaded MUI satellite libraries contains a record for the given hInstance, the function frees the memory for that record and deletes the record from the DPA. The function always succeeds.


The MLClearMLHInstance function is exported from SHLWAPI.DLL as ordinal 431 in version 5.00 and higher.

Though this function dates from as long ago as 1999, it was still not documented by Microsoft as late as the January 2007 edition of the Windows Vista Software Development Kit (SDK).