Export (0) Print
Expand All
Expand Minimize

WlxDisconnect function

[The WlxDisconnect function is no longer available for use as of Windows Server 2008 and Windows Vista.]

Called by a replacement GINA DLL if Terminal Services is enabled. GINA calls this function to disconnect from a Terminal Services network session.

Note   GINA DLLs are ignored in Windows Vista.

WlxDisconnect allows GINA to optionally support a disconnect dialog box.

Syntax


BOOL WlxDisconnect(void);

Parameters

This function has no parameters.

Return value

The WlxDisconnect function returns one of the following values.

Return codeDescription
TRUE

Terminal Services session was disconnected.

FALSE

Terminal Services session was not disconnected, or Terminal Services was not enabled.

 

Remarks

To access this function, the GINA DLL must use the WLX_DISPATCH_VERSION_1_3 structure, and set the Winlogon version to at least WLX_VERSION_1_3 in its WlxNegotiate call.

Other Winlogon support functions that may be called when Terminal Services is enabled are WlxWin31Migrate, WlxQueryClientCredentials, and WlxQueryInetConnectorCredentials.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Winwlx.h

See also

WlxWin31Migrate
WLX_DISPATCH_VERSION_1_3
WlxNegotiate
WlxQueryClientCredentials
WlxQueryInetConnectorCredentials

 

 

Community Additions

ADD
Show:
© 2014 Microsoft