MLClearMLHInstance

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

Declaration

HRESULT MLClearMLHInstance (HINSTANCE hInstance);

Parameters

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.

Behaviour

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.

Availability

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).