Common Data Types (Unmanaged API Reference)

.NET Framework (current version)
 

This topic lists simple data types used by the unmanaged APIs for the .NET Framework that are defined by C/C++ typedef statements. These data types are typically aliases for C/C++ primitive data types. Typically, the values of these data types are opaque; that is, they are returned by a particular function or method so that they can be passed to other functions or methods without modification.

Data typeDefinitionDefined inDescription
AppDomainIDtypedef UINT_PTR AppDomainID;corprof.hThe identifier of an application domain.
AssemblyIDtypedef UINT_PTR AssemblyID;corprof.hThe identifier of an assembly.
ClassIDtypedef UINT_PTR ClassID;corprof.hThe identifier of a managed class.
CONNIDtypedef DWORD CONNID;cordebug.h, mscoree.hThe connection identifier for a thread that is connected to an instance of Microsoft SQL Server.
ContextIDtypedef UINT_PTR ContextID;corprof.hThe identifier of the context associated with a particular managed thread.
COR_PRF_ELT_INFOtypedef UINT_PTR COR_PRF_ELT_INFO;corprof.hAn opaque handle that represents information about a particular stack frame.
COR_PRF_FRAME_INFOtypedef UINT_PTR COR_PRF_FRAME_INFO;corprof.hAn opaque handle that points to a stack frame. It is valid only during the callback to which it is passed.
CORDB_ADDRESStypedef ULONG64 CORDB_ADDRESS;cordebug.hAn address in memory.
CORDB_CONTINUE_STATUStypedef DWORD CORDB_CONTINUE_STATUS;cordebug.hThe continuation status.
CORDB_REGISTERtypedef ULONG64 CORDB_REGISTER;cordebug.hThe value of a CPU register.
FunctionIDtypedef UINT_PTR FunctionID;corprof.hThe identifier of a function or method.
GCHandleIDtypedef UINT_PTR GCHandleID;corprof.hA garbage collection handle.
mdTokentypedef UINT32 mdToken;corprof.hA metadata token (a row in a metadata table).
ModuleIDtypedef UINT_PTR ModuleID;corprof.hThe identifier of an assembly module.
ObjectIDtypedef UINT_PTR ObjectID;corprof.hThe identifier of an object.
ProcessIDtypedef UINT_PTR ProcessID;corprof.hThe identifier of a managed process.
ReJITIDtypedef UINT_PTR ReJITID;corprof.hThe identifier of a jitted function.
TASKIDtypedef UINT64 TASKID;cordebug.h, mscoree.hThe identifier of an ICLRTask instance.
ThreadIDtypedef UINT_PTR ThreadID;corprof.hThe identifier of a managed thread.

Unmanaged API Reference

Show: