Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 910 Bytes

DllGetVersion.md

File metadata and controls

42 lines (28 loc) · 910 Bytes

Home

Function name : DllGetVersion

Group: Shell Functions - Library: shell32


Implemented by many of the Microsoft® Windows® Shell dynamic-link libraries (DLLs) to allow applications to obtain DLL-specific version information.


Code examples:

Obtaining Shell32.dll version

Declaration:

HRESULT CALLBACK DllGetVersion(
	DLLVERSIONINFO* pdvi
);  

FoxPro declaration:

DECLARE INTEGER DllGetVersion IN shell32;
	STRING @pdvi  

Parameters:

pdvi Pointer to a DLLVERSIONINFO structure that receives the version information.


Return value:

Returns NOERROR (0) if successful, or an OLE-defined error value otherwise.