MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / findRegPath

Function findRegPath

ThirdParty/ASIO/common/register.cpp:182–196  ·  view source on GitHub ↗

------------------------------------------ Local Functions ------------------------------------------

Source from the content-addressed store, hash-verified

180// Local Functions
181// ------------------------------------------
182static LONG findRegPath (HKEY mainkey,char *szregpath)
183{
184 HKEY hkey;
185 LONG cr,rc = -1;
186
187 if (szregpath) {
188 if ((cr = RegOpenKey(mainkey,szregpath,&hkey)) == ERROR_SUCCESS) {
189 RegCloseKey(hkey);
190 rc = 1;
191 }
192 else rc = 0;
193 }
194
195 return rc;
196}
197
198static LONG createRegPath (HKEY mainkey,char *szregpath,char *sznewpath)
199{

Callers 3

RegisterAsioDriverFunction · 0.85
UnregisterAsioDriverFunction · 0.85
createRegPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected