VfZwConnectPort

NTSTATUS __stdcall VfZwConnectPort(
        VOID **PortHandle,
        _UNICODE_STRING *PortName,
        _SECURITY_QUALITY_OF_SERVICE *SecurityQos,
        PORT_VIEW *ClientView,
        _REMOTE_PORT_VIEW *ServerView,
        UINT64 *MaxMessageLength,
        VOID *ConnectionInformation,
        UINT64 *ConnectionInformationLength){
  VOID *retaddr; 

  if( (unsigned int)ViZwShouldCheck() )
  {
    ViZwCheckVirtualAddress((UINT64)PortHandle, retaddr);
    ViZwCheckUnicodeString(PortName, retaddr);
    ViZwCheckVirtualAddress((UINT64)SecurityQos, retaddr);
    ViZwCheckVirtualAddress((UINT64)ClientView, retaddr);
    ViZwCheckVirtualAddress((UINT64)ServerView, retaddr);
    ViZwCheckVirtualAddress((UINT64)MaxMessageLength, retaddr);
    ViZwCheckVirtualAddress((UINT64)ConnectionInformation, retaddr);
    ViZwCheckVirtualAddress((UINT64)ConnectionInformationLength, retaddr);
  }
  return((__int64(__fastcall *)(VOID **, _UNICODE_STRING *, _SECURITY_QUALITY_OF_SERVICE *, PORT_VIEW *, _REMOTE_PORT_VIEW *, UINT64 *, VOID *, UINT64 *))pXdvZwConnectPort)(
           PortHandle,
           PortName,
           SecurityQos,
           ClientView,
           ServerView,
           MaxMessageLength,
           ConnectionInformation,
           ConnectionInformationLength);
}

Referenced by:

No references.