// Copyright 2014 The Crashpad Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef CRASHPAD_COMPAT_NON_WIN_VERRSRC_H_ #define CRASHPAD_COMPAT_NON_WIN_VERRSRC_H_ #include <stdint.h> //! \file //! \brief The magic number for a VS_FIXEDFILEINFO structure, stored in //! VS_FIXEDFILEINFO::dwSignature. #define VS_FFI_SIGNATURE … //! \brief The version of a VS_FIXEDFILEINFO structure, stored in //! VS_FIXEDFILEINFO::dwStrucVersion. #define VS_FFI_STRUCVERSION … //! \anchor VS_FF_x //! \name VS_FF_* //! //! \brief File attribute values for VS_FIXEDFILEINFO::dwFileFlags and //! VS_FIXEDFILEINFO::dwFileFlagsMask. //! \{ #define VS_FF_DEBUG … #define VS_FF_PRERELEASE … #define VS_FF_PATCHED … #define VS_FF_PRIVATEBUILD … #define VS_FF_INFOINFERRED … #define VS_FF_SPECIALBUILD … //! \} //! \anchor VOS_x //! \name VOS_* //! //! \brief Operating system values for VS_FIXEDFILEINFO::dwFileOS. //! \{ #define VOS_UNKNOWN … #define VOS_DOS … #define VOS_OS216 … #define VOS_OS232 … #define VOS_NT … #define VOS_WINCE … #define VOS__BASE … #define VOS__WINDOWS16 … #define VOS__PM16 … #define VOS__PM32 … #define VOS__WINDOWS32 … #define VOS_DOS_WINDOWS16 … #define VOS_DOS_WINDOWS32 … #define VOS_OS216_PM16 … #define VOS_OS232_PM32 … #define VOS_NT_WINDOWS32 … //! \} //! \anchor VFT_x //! \name VFT_* //! //! \brief File type values for VS_FIXEDFILEINFO::dwFileType. //! \{ #define VFT_UNKNOWN … #define VFT_APP … #define VFT_DLL … #define VFT_DRV … #define VFT_FONT … #define VFT_VXD … #define VFT_STATIC_LIB … //! \} //! \anchor VFT2_x //! \name VFT2_* //! //! \brief File subtype values for VS_FIXEDFILEINFO::dwFileSubtype. //! \{ #define VFT2_UNKNOWN … #define VFT2_DRV_PRINTER … #define VFT2_DRV_KEYBOARD … #define VFT2_DRV_LANGUAGE … #define VFT2_DRV_DISPLAY … #define VFT2_DRV_MOUSE … #define VFT2_DRV_NETWORK … #define VFT2_DRV_SYSTEM … #define VFT2_DRV_INSTALLABLE … #define VFT2_DRV_SOUND … #define VFT2_DRV_COMM … #define VFT2_DRV_INPUTMETHOD … #define VFT2_DRV_VERSIONED_PRINTER … #define VFT2_FONT_RASTER … #define VFT2_FONT_VECTOR … #define VFT2_FONT_TRUETYPE … //! \} //! \brief Version information for a file. //! //! On Windows, this information is derived from a file’s version information //! resource, and is obtained by calling `VerQueryValue()` with an `lpSubBlock` //! argument of `"\"` (a single backslash). struct VS_FIXEDFILEINFO { … }; #endif // CRASHPAD_COMPAT_NON_WIN_VERRSRC_H_