IDkmRunningProcessInfoProvider160.QueryExecutableArchitecture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the architecture of the executable.
public:
Microsoft::VisualStudio::Debugger::DkmProcessorArchitecture QueryExecutableArchitecture(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ connection, System::String ^ exePath);
public Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture QueryExecutableArchitecture (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, string exePath);
abstract member QueryExecutableArchitecture : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string -> Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture
Public Function QueryExecutableArchitecture (connection As DkmTransportConnection, exePath As String) As DkmProcessorArchitecture
Parameters
- connection
- DkmTransportConnection
[In] This represents a connection between the monitor and the IDE. It can either be a local connection if the monitor is running in the same process as the IDE, or it can be a remote connection. In the monitor process, there is only one connection.
- exePath
- String
[In] Path to the executable file.
Returns
[Out] Example: PROCESSOR_ARCHITECTURE_INTEL (0), PROCESSOR_ARCHITECTURE_ARM (5), PROCESSOR_ARCHITECTURE_AMD64 (9), or PROCESSOR_ARCHITECTURE_ARM64 (12).