Also unrelated changes from private branch merge.
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
/*
* Tools options.
*/
-
+
#define TOOLSOPTION_COPYPASTE "copypaste"
#define TOOLSOPTION_AUTOHIDE "autohide"
#define TOOLSOPTION_BROADCASTIP "broadcastIP"
#define DISK_SHRINK_CMD "disk.shrink"
+/*
+ * Auto-lock commands.
+ */
+
+#define DESKTOP_AUTOLOCK_CMD "Autolock_Desktop"
+
/*
* The max selection buffer length has to be less than the
#endif
#include "vmware.h"
+#include "vm_atomic.h"
#include "wiper.h"
#include "vmtoolsInt.h"
#include "vmware/tools/utils.h"
VMToolsDllInit(void *lib)
{
Bool success;
-#if defined(_WIN32)
WiperInitData wiperData;
+ Atomic_Init();
+#if defined(_WIN32)
wiperData.resourceModule = lib;
success = (NetUtil_LoadIpHlpApiDll() == ERROR_SUCCESS);
ASSERT(success);
success = Wiper_Init(&wiperData);
ASSERT(success);
#else
+ (void) wiperData;
success = Wiper_Init(NULL);
ASSERT(success);
#endif