1
0

config.h 642 B

123456789101112131415161718
  1. #ifndef NULLSOFT_WEBDEV_PLUGIN_CONFIG_HEADER
  2. #define NULLSOFT_WEBDEV_PLUGIN_CONFIG_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. DWORD Config_ReadStr(LPCSTR lpSectionName, LPCSTR lpKeyName, LPCSTR lpDefault, LPSTR lpReturnedString, DWORD nSize);
  8. UINT Config_ReadInt(LPCSTR lpSectionName, LPCSTR lpKeyName, INT nDefault);
  9. HRESULT Config_WriteStr(LPCSTR lpSectionName, LPCSTR lpKeyName, LPCSTR lpString);
  10. HRESULT Config_WriteInt(LPCSTR lpSectionName, LPCSTR lpKeyName, INT nValue);
  11. HRESULT Config_WriteSection(LPCSTR lpSectionName, LPCSTR lpData);
  12. #endif //NULLSOFT_WEBDEV_PLUGIN_CONFIG_HEADER