IVsHandleInComingCallDynamicInProc.AllowIncomingCall(UInt32, IntPtr, UInt32, Guid, UInt16, Boolean) Método

Definição

Determina se uma chamada de entrada deve ser permitida ou não.

public:
 int AllowIncomingCall(System::UInt32 dwCallType, IntPtr htaskCaller, System::UInt32 dwTickCount, Guid % iid, System::UInt16 wMethod, [Runtime::InteropServices::Out] bool % pfAllow);
public int AllowIncomingCall (uint dwCallType, IntPtr htaskCaller, uint dwTickCount, ref Guid iid, ushort wMethod, out bool pfAllow);
abstract member AllowIncomingCall : uint32 * nativeint * uint32 * Guid * uint16 * bool -> int
Public Function AllowIncomingCall (dwCallType As UInteger, htaskCaller As IntPtr, dwTickCount As UInteger, ByRef iid As Guid, wMethod As UShort, ByRef pfAllow As Boolean) As Integer

Parâmetros

dwCallType
UInt32

no O tipo de chamada.

htaskCaller
IntPtr

no O chamador.

dwTickCount
UInt32

no A contagem de tiques.

iid
Guid

no O identificador da interface solicitada.

wMethod
UInt16

no O método de interface.

pfAllow
Boolean

[out, retval] true se a chamada for permitida, caso contrário false .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Se esse método retornar pfAllow como false , SERVERCALL_RETRYLATER será retornado de IMessageFilter::HandleIncomingCall .

Aplica-se a