DLLGETVERSIONPROC callback function

Implemented by many of the Windows Shell DLLs to allow applications to obtain DLL-specific version information.

Syntax

DLLGETVERSIONPROC Dllgetversionproc;

HRESULT Dllgetversionproc(
  DLLVERSIONINFO *
)
{...}

Parameters

*

Return Value

Type: HRESULT

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function is exported by name from each DLL that implements it. Currently, most of the Windows Shell and controls DLLs implement DllGetVersion. These include, but are not limited to, Shell32.dll, Comctl32.dll, Shdocvw.dll, and Shlwapi.dll.

To call this function, use the LoadLibrary and GetProcAddress functions to obtain the function pointer. The DLLGETVERSIONPROC type is used as the data type to define a pointer to a DllGetVersion function. Use the pointer when calling the function dynamically by loading the library and getting the function's address. See Shell and Shlwapi DLL Versions for a detailed discussion of the different file versions, and how to use DllGetVersion.

Requirements

   
Windows version Windows 2000 Professional, Windows XP [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlwapi.h