Skip to main content
Version: 16.10.0

GW2CloseSession

The GW2CloseSession function closes the session designated by session. All resources allocated by the session will be destroyed. Only data stored to persistent storage can be processed by the client after a successful call to GW2CloseSession.

Synopsis

#include "glasswall.core2.api.h"
int GW2CloseSession(Session session);

Returns

The GW2CloseSession function returns a GW2_RetStatus enumeration converted to int. The value will be negative if an error occurred. 0 indicates success. Refer to the API Overview/Return types for details.