@ -151,6 +151,7 @@ send_init(struct wts_obj* wts)
char initmsg[64];
memset(initmsg, 0, 64);
strncpy(initmsg, wts->name, 8);
if (!can_send(wts->fd, 500))
{
return 1;
@ -24,6 +24,10 @@
#if !defined(XRDPAPI_H_)
#define XRDPAPI_H_
#ifdef __cplusplus
extern "C" {
#endif
#define WTS_CURRENT_SERVER_HANDLE 0
#define WTS_CURRENT_SESSION 0xffffffff
@ -59,4 +63,8 @@ WTSVirtualChannelQuery(void* hChannelHandle, WTS_VIRTUAL_CLASS WtsVirtualClass,
void
WTSFreeMemory(void* pMemory);
}
#endif /* XRDPAPI_H_ */