Export (0) Print
Expand All
Expand Minimize

VirtualChannelEntry function pointer

An application-defined entry point for the client-side DLL of an application that uses Remote Desktop Services virtual channels. Remote Desktop 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 the VirtualChannelInit function to initialize access to virtual channels.

Syntax


typedef BOOL ( VCAPITYPE *VirtualChannelEntry)(
  _In_  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

Return TRUE if the function is successful.

Return FALSE if an error occurs. In this case, Remote Desktop Services unloads your DLL.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Cchannel.h

See also

CHANNEL_ENTRY_POINTS
VirtualChannelInit

 

 

Show:
© 2014 Microsoft