MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / GetFolderLocation

Function GetFolderLocation

Source/LevelDebugLayer.cpp:72–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70int songid;
71
72HRESULT GetFolderLocation(int csidl, char* buffer)
73{
74 #if (AX_TARGET_PLATFORM == AX_PLATFORM_WIN32)
75 LPITEMIDLIST pidl = 0;
76 HRESULT result = SHGetSpecialFolderLocation(NULL, csidl, &pidl);
77 *buffer = 0;
78
79 if (result == 0)
80 {
81 SHGetPathFromIDListA(pidl, buffer);
82 CoTaskMemFree(pidl);
83 }
84
85 return result;
86
87 #endif
88
89 return 0;
90}
91
92void LevelDebugLayer::playMusic(float dt)
93{

Callers 1

playMusicMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected