Metode IDebugHostType2::GetFunctionReturnType (dbgmodel.h)

Metode GetFunctionReturnType mengembalikan jenis pengembalian fungsi.

Sintaks

HRESULT GetFunctionReturnType(
  IDebugHostType **returnType
);

Parameter

returnType

Simbol jenis yang menunjukkan jenis pengembalian fungsi dikembalikan di sini.

Nilai kembali

Metode ini mengembalikan HRESULT yang menunjukkan keberhasilan atau kegagalan.

Keterangan

Kode Sampel

ComPtr<IDebugHostType> spType; /* get a type for a function (see FindTypeByName) */

ComPtr<IDebugHostType> spReturnType;
if (SUCCEEDED(spType->GetFunctionReturnType(&spReturnType)))
{
    // spReturnType is the type symbol for the return type of the function.
}

Persyaratan

Persyaratan Nilai
Header dbgmodel.h

Lihat juga

Antarmuka IDebugHostType2