#ifndef DK4WREGT_H_INCLUDED #define DK4WREGT_H_INCLUDED 1 /** @file dk4wregt.h Type definitions for Windows registry access. */ #if DK4_ON_WINDOWS #ifndef WINDOWS_H_INCLUDED #include #define WINDOWS_H_INCLUDED 1 #endif #ifndef WINBASE_H_INCLUDED #include #define WINBASE_H_INCLUDED 1 #endif #ifndef WINREG_H_INCLUDED #include #define WINREG_H_INCLUDED 1 #endif #endif /** Key handle structure, useful data on Windows, dummy on others. */ typedef struct { #if DK4_ON_WINDOWS HKEY hk; /**< The registry key handle. */ #else int dummy; /**< Dummy contents for non-Windows systems. */ #endif } dk4_wreg_key_t; #endif