ICallFrame::GetNames method (callobj.h)

Retrieves the method or interface name of this call.

Syntax

HRESULT GetNames(
  [out] LPWSTR *pwszInterface,
  [out] LPWSTR *pwszMethod
);

Parameters

[out] pwszInterface

A pointer to the interface name.

[out] pwszMethod

A pointer to the method name.

Return value

If the requested name is not available, the return value is a null string. This method can also return the following values.

Return code Description
S_OK
The method completed successfully.
E_UNEXPECTED
An unexpected error has occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header callobj.h

See also

ICallFrame