AGX Dynamics 2.40.1.1
Loading...
Searching...
No Matches
win32Tools.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXIO_WIN32_TOOLS_H
18#define AGXIO_WIN32_TOOLS_H
19
20#include <agx/config.h>
21
22
23#ifdef STANDALONE_RUNTIME
24#include <agx/agxCore_export.h>
25
27namespace agx
28{
29 typedef std::string String;
30}
32#else
33#include <agx/String.h>
34#endif
35#if defined(_MSC_VER)
36#include <agx/Windows.h>
37#endif
38
39
40
41namespace agxIO
42{
49 AGXCORE_EXPORT bool getRegisterValue( const char *key, agx::String& value );
50
51#if defined(_MSC_VER)
60 AGXCORE_EXPORT bool getRegisterValue(HKEY parentKey, const char* path, const char* key, agx::String& value);
61
70 AGXCORE_EXPORT bool setRegisterValue(HKEY parentKey, const char* path, const char* key, agx::String& value);
71
79 AGXCORE_EXPORT bool deleteRegistryKey(HKEY parentKey, const char* path, const char* key);
80
88 AGXCORE_EXPORT bool deleteRegistryTree(HKEY parentKey, const char* path);
89#endif
90}
91#endif
92
#define AGXCORE_EXPORT
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:89
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:88
The agxIO namespace contains classes for reading, writing and finding files.
Definition: Material.h:42
AGXCORE_EXPORT bool getRegisterValue(const char *key, agx::String &value)
Get a string value from the registry written by the Installer.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AgXString< std::string > String
Definition: String.h:427