Desktop Functions: Smart Device Functions:
|
Search Results for "GetFileVersionInfo" in [All]coredll
static extern bool GetFileVersionInfo(string filename, int handle, int len, IntPtr buffer);
static extern bool GetFileVersionInfo(string filename, int handle, int len, IntPtr buffer);
Declare Function GetFileVersionInfo Lib "version.dll" (TODO) As TODO kernel32version
static extern int GetFileVersionInfoSize(string fileName, [Out]IntPtr dummy);
Declare Function GetFileVersionInfoSize Lib "version.dll" (fileName As String, <Out> dummy As IntPtr) As Integer On Windows 10 use http://pinvoke.net/default.aspx/MinCore/GetFileVersionInfoSize.html
GetFileVersionInfoSize(@"c:\someFolder\someFile.dll", IntPtr.Zero); MinCore
static extern int GetFileVersionInfoSize(string fileName, [Out]IntPtr dummy);
Declare Function GetFileVersionInfoSize Lib "Api-ms-win-core-version-l1-1-0.dll" (fileName As String, <Out> dummy As IntPtr) As Integer Use this declaration on Windows 10. On previous versions use http://pinvoke.net/default.aspx/version/GetFileVersionInfoSize.html
GetFileVersionInfoSize(@"c:\someFolder\someFile.dll", IntPtr.Zero); |