OSINFO Structure
Contains details about the operating system for an assembly or module.
typedef struct {
DWORD dwOSPlatformId;
DWORD dwOSMajorVersion;
DWORD dwOSMinorVersion;
} OSINFO;
Members
Member | Description |
---|---|
dwOSPlatformId |
One of the identifier values defined by the Microsoft Windows platform function GetVersionEx. The following values are supported:
|
dwOSMajorVersion |
The operating system major version, or a NULL value to indicate any version. |
dwOSMinorVersion |
The operating system minor version, or a NULL value to indicate any version. |
Remarks
OSINFO is based on the OSVERSIONINFOEX structure that is used in calls to the Microsoft Windows platform function GetVersionEx. This structure is used by the ASSEMBLYMETADATA Structure structure to indicate its operating system support.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0, 1.1, 1.0
See Also
Reference
ASSEMBLYMETADATA Structure
IMetaDataAssemblyEmit Interface