Partager via


VirtualChannelEntry (Windows Embedded CE 6.0)

1/6/2010

This function is an application-defined entry point for the client-side DLL of an application that uses Terminal Services virtual channels.

Terminal Services calls this entry point function to obtain a set of function pointers to the client DLL. The client calls these functions to work with virtual channels. Your VirtualChannelEntry implementation must call the VirtualChannelInit function to initialize access to virtual channels.

Syntax

BOOL VCAPITYPE VirtualChannelEntry(
  PCHANNEL_ENTRY_POINTS pEntryPoints
);

Parameters

  • pEntryPoints
    [in] Pointer to a CHANNEL_ENTRY_POINTS structure that contains pointers to the client-side virtual channel functions.

    This pointer is no longer valid after the VirtualChannelEntry function returns. You must make a copy of this structure in extension-allocated memory for later use.

Return Value

The following table shows the return values for this function.

Value Description

TRUE

DLL correctly loaded.

FALSE

An error occurred. DLL unloaded.

Remarks

Terminal Services calls this entry point to pass a set of function pointers to the client DLL. The client calls these functions to work with virtual channels. Your VirtualChannelEntry implementation must call VirtualChannelInit to initialize access to virtual channels.

Requirements

Header cchannel.h
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

RDP Functions