PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
platformWindows.cpp File Reference

Windows implementations of portable platform utility functions. More...

#include <winsock2.h>
#include <windows.h>
#include <iphlpapi.h>
#include <algorithm>
#include <filesystem>
#include <limits>
#include <string>
#include <stdexcept>
#include <string_view>
#include <vector>
#include "profinet/util.h"
#include "profinet/exceptions.h"
+ Include dependency graph for platformWindows.cpp:

Go to the source code of this file.

Namespaces

namespace  profinet
 

Macros

#define NOMINMAX
 
#define WIN32_LEAN_AND_MEAN
 

Functions

MacAddress profinet::GetInterfaceMac (const std::string &interface)
 Get the MAC address assigned to a network interface.
 
std::filesystem::path profinet::GetExecutableDirectory ()
 Retrieves the absolute directory path of the currently running executable.
 

Detailed Description

Windows implementations of portable platform utility functions.

Definition in file platformWindows.cpp.

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

Definition at line 4 of file platformWindows.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 7 of file platformWindows.cpp.