DkmModuleVersion.Create Method

Definition

Create a new DkmModuleVersion object instance.

public:
 static Microsoft::VisualStudio::Debugger::DkmModuleVersion ^ Create(System::String ^ FileVersionString, System::String ^ CompanyName, System::UInt32 FileVersionMS, System::UInt32 FileVersionLS, System::UInt32 ProductVersionMS, System::UInt32 ProductVersionLS, System::UInt32 VersionFlags);
public:
 static Microsoft::VisualStudio::Debugger::DkmModuleVersion ^ Create(Platform::String ^ FileVersionString, Platform::String ^ CompanyName, unsigned int FileVersionMS, unsigned int FileVersionLS, unsigned int ProductVersionMS, unsigned int ProductVersionLS, unsigned int VersionFlags);
 static Microsoft::VisualStudio::Debugger::DkmModuleVersion Create(std::wstring const & FileVersionString, std::wstring const & CompanyName, unsigned int FileVersionMS, unsigned int FileVersionLS, unsigned int ProductVersionMS, unsigned int ProductVersionLS, unsigned int VersionFlags);
public static Microsoft.VisualStudio.Debugger.DkmModuleVersion Create (string FileVersionString, string CompanyName, uint FileVersionMS, uint FileVersionLS, uint ProductVersionMS, uint ProductVersionLS, uint VersionFlags);
public static Microsoft.VisualStudio.Debugger.DkmModuleVersion Create (string? FileVersionString, string? CompanyName, uint FileVersionMS, uint FileVersionLS, uint ProductVersionMS, uint ProductVersionLS, uint VersionFlags);
static member Create : string * string * uint32 * uint32 * uint32 * uint32 * uint32 -> Microsoft.VisualStudio.Debugger.DkmModuleVersion
Public Shared Function Create (FileVersionString As String, CompanyName As String, FileVersionMS As UInteger, FileVersionLS As UInteger, ProductVersionMS As UInteger, ProductVersionLS As UInteger, VersionFlags As UInteger) As DkmModuleVersion

Parameters

FileVersionString
String

[In,Optional] 'FileVersion' field from the variable-sized version data (ex: '6.0.6000.16386 (vista_rtm.061101-2205)').

CompanyName
String

[In,Optional] 'CompanyName' field from the variable-sized version data (ex: 'Microsoft Corporation').

FileVersionMS
UInt32

[In] Most significant 32-bits of the file version (e.g. 0x00030010 = 3.10).

FileVersionLS
UInt32

[In] Least significant 32 bits of the file's binary version number (e.g. 0x00000031 = 0.31).

ProductVersionMS
UInt32

[In] Most significant 32 bits of the binary version number of the product with which this file was distributed (e.g. 0x00030010 = 3.10).

ProductVersionLS
UInt32

[In] Least significant 32 bits of the binary version number of the product with which this file was distributed (e.g. 0x00000031 = 0.31).

VersionFlags
UInt32

[In] VS_FF_* flags from winver.h of the Platform SDK.

Returns

[Out] Result of this method call.

Applies to