IVsHandleInComingCallDynamicInProc.AllowIncomingCall(UInt32, IntPtr, UInt32, Guid, UInt16, Boolean) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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 .