共用方式為


VirtualChannelEntryEx (Windows CE 5.0)

Send Feedback

This function is an application-defined entry point for the client-side DLL of an application that uses Terminal Services virtual channels. This function is a virtual extension that can be used to protect per-session data in the virtual channel client DLL.

typedef BOOL VCAPITYPE VIRTUALCHANNELENTRYEX(PCHANNEL_ENTRY_POINTS_EX pEntryPointsEx,PVOID pInitHandle);

Parameters

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

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

  • pInitHandle
    [in] Pointer to a handle that identifies the client instance. This value must be passed back when calling into the client.

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 VirtualChannelEntryEx implementation must call VirtualChannelInitEx to initialize access to virtual channels.

Requirements

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

See Also

RDP Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.