diff --git a/meshcore/agentcore.h b/meshcore/agentcore.h index 73a04e7..68c96e2 100644 --- a/meshcore/agentcore.h +++ b/meshcore/agentcore.h @@ -140,7 +140,7 @@ typedef enum MeshAgentHost_BatteryInfo extern char* MeshAgentHost_BatteryInfo_STRINGS[]; #ifdef WIN32 -typedef HRESULT (*DpiAwarenessFunc)(PROCESS_DPI_AWARENESS); +typedef HRESULT (__stdcall *DpiAwarenessFunc)(PROCESS_DPI_AWARENESS); #endif typedef struct MeshAgentHostContainer