open-license-manager
2014-10-13 852dc2056835679e2beb4b1ee9bfe4385ab27bf2
src/library/os/win/os-win.c
@@ -1,6 +1,6 @@
#include <Windows.h>
#include <iphlpapi.h>
//definition of size_t
//definition of size_t
#include <stdlib.h>
#include "../../base/logger.h"
#include"../os.h"
@@ -161,4 +161,12 @@
   *adapter_info_size = i;
   return result;
}
FUNCTION_RETURN getModuleName(char buffer[MAX_PATH]) {
   FUNCTION_RETURN result=FUNC_RET_OK;
   DWORD wres = GetModuleFileName(NULL, buffer, MAX_PATH);
   if (wres == 0){
      result = FUNC_RET_ERROR;
   }
   return result;
}