DkmNativeCppFunctionType Class

Definition

Represents the type of a C++ function.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public ref class DkmNativeCppFunctionType : Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppType
[System.Runtime.InteropServices.Guid("1890a65c-8804-2842-afbc-d30d469ed12f")]
public class DkmNativeCppFunctionType : Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppType
[<System.Runtime.InteropServices.Guid("1890a65c-8804-2842-afbc-d30d469ed12f")>]
type DkmNativeCppFunctionType = class
    inherit DkmNativeCppType
Public Class DkmNativeCppFunctionType
Inherits DkmNativeCppType
Inheritance
Attributes

Properties

ArgumentTypes

The types of each argument to the function. For instance member functions, this does not include the 'this' pointer.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

CallingConvention

The calling convention of this function.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Id

Unique identifier for this type, across all modules loaded in this debug session.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
InspectionSession

The inspection session which controls the lifetime of this symbol object.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
IsEllipsis

True if this function contains the "..." specifier, allowing variable arguments at the end of the argument list.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

IsUnloaded

Returns true if a 'unloaded' event has been raised for this object (example: DkmThread::Unload is called) or if the object has been closed. Note that care must be used when checking this status as, without synchronization, the returned status may no longer be accurate the instruction after it is read.

(Inherited from DkmDataContainer)
ObjectPointerType

[Optional] If this is an instance member function, specifies the type of the 'this' pointer parameter. Otherwise, null.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Qualifiers

const/volatile qualifiers on this type.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
ReturnType

The return type of this function.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Size

The size, in bytes, of an object of this type.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
TagValue

DkmNativeCppType is an abstract base class. This enum indicates which derived class this object is an instance of.

(Inherited from DkmNativeCppType)

Methods

GetArrayType(Int32, DkmNativeCppCVQualifiers)

Creates a C++ array type.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
GetDataItem<T>()

Gets the instance of 'T' which has been added to this container instance. If this container does not contain a 'T', this function will return null.

(Inherited from DkmDataContainer)
GetPointerType(DkmNativeCppCVQualifiers)

Creates a C++ pointer type.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
GetReferenceType(Boolean, DkmNativeCppCVQualifiers)

Creates a C++ pointer type.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
GetSymbolInterface()

Obtains a pointer to the IDiaSymbol object, when available, that backs this member. For non-class/struct/union types, a dia symbol may or may not be available, depending on how the type got created.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

(Inherited from DkmNativeCppType)
RemoveDataItem<T>()

Remove the instance of 'T' from this container. It is usually unnecessary to call this method as a data container will automatically be emptied when the object is closed.

(Inherited from DkmDataContainer)
SetDataItem<T>(DkmDataCreationDisposition, T)

Place a new item in the data container.

(Inherited from DkmDataContainer)

Applies to