VirtualChannelEntry

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

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Cchannel.h.
Link Library: Developer implemented.

See Also

RDP Functions

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.