Expand Minimize

IDebugControl::GetProcessorTypeNames method

The GetProcessorTypeNames method returns the full name and abbreviated name of the specified processor type.

Syntax


HRESULT GetProcessorTypeNames(
  [in]             ULONG Type,
  [out, optional]  PSTR FullNameBuffer,
  [in]             ULONG FullNameBufferSize,
  [out, optional]  PULONG FullNameSize,
  [out, optional]  PSTR AbbrevNameBuffer,
  [in]             ULONG AbbrevNameBufferSize,
  [out, optional]  PULONG AbbrevNameSize
);

Parameters

Type [in]

Specifies the type of the processor whose name is requested. See GetActualProcessorType for a list of possible values.

FullNameBuffer [out, optional]

Receives the full name of the processor type. If FullNameBuffer is NULL, this information is not returned.

FullNameBufferSize [in]

Specifies the size, in characters, of the buffer that FullNameBuffer specifies.

FullNameSize [out, optional]

Receives the size in characters of the full name of the processor type. If FullNameSize is NULL, this information is not returned.

AbbrevNameBuffer [out, optional]

Receives the abbreviated name of the processor type. If AbbrevNameBuffer is NULL, this information is not returned.

AbbrevNameBufferSize [in]

Specifies the size, in characters, of the buffer that AbbrevNameBuffer specifies.

AbbrevNameSize [out, optional]

Receives the size in characters of the abbreviated name of the processor type. If AbbrevNameSize is NULL, this information is not returned.

Return value

This method may also return error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

S_FALSE

The method was successful. However, at least one of FullNameBuffer or AbbrevNameBuffer was too small for the corresponding name, so the name was truncated.

 

Remarks

For more information, see Target Information.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
GetSupportedProcessorTypes

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft