1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
6 #include "stdafx.h" // Precompiled header key.
10 #include "pedecoder.h"
17 GetFileVersionInfoSizeW_NoThrow(
18 LPCWSTR lptstrFilename, /* Filename of version stamped file */
27 dwRet=GetFileVersionInfoSize( (LPWSTR)lptstrFilename, lpdwHandle );
37 GetFileVersionInfoW_NoThrow(
38 LPCWSTR lptstrFilename, /* Filename of version stamped file */
39 DWORD dwHandle, /* Information from GetFileVersionSize */
40 DWORD dwLen, /* Length of buffer for info */
49 bRet=GetFileVersionInfo( (LPWSTR)lptstrFilename, dwHandle,dwLen,lpData );
59 VerQueryValueW_NoThrow(
71 bRet=VerQueryValueW( pBlock, (LPWSTR)lpSubBlock,lplpBuffer,puLen );