MCPcopy Create free account
hub / github.com/assimp/assimp / storeRegKey

Function storeRegKey

tools/assimp_view/MessageProc.cpp:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static void storeRegKey(bool option, LPCSTR name) {
222 // store this in the registry, too
223 DWORD dwValue = 0;
224 if (option) {
225 dwValue = 1;
226 }
227 RegSetValueExA(g_hRegistry, name, 0, REG_DWORD, (const BYTE*)&dwValue, 4);
228
229}
230//-------------------------------------------------------------------------------
231// Toggle the "AutoRotate" state
232//-------------------------------------------------------------------------------

Callers 13

ToggleAutoRotateFunction · 0.85
ToggleFPSViewFunction · 0.85
ToggleMultipleLightsFunction · 0.85
ToggleLightRotateFunction · 0.85
ToggleTransparencyFunction · 0.85
ToggleLowQualityFunction · 0.85
ToggleSpecularFunction · 0.85
ToggleMatsFunction · 0.85
ToggleCullingFunction · 0.85
ToggleSkeletonFunction · 0.85
ToggleWireFrameFunction · 0.85
ToggleMSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected