ICallFrame::GetNames method

Retrieves the method or interface name of this call.

Syntax


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

Parameters

pwszInterface [out]

A pointer to the interface name.

pwszMethod [out]

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 codeDescription
S_OK

The method completed successfully.

E_UNEXPECTED

An unexpected error has occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Callobj.h

IDL

Callobj.idl

IID

IID_ICallFrame is defined as D573B4B0-894E-11d2-B8B6-00C04FB9618A

See also

ICallFrame

 

 

Show: