MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / SetName

Function SetName

Libraries/unrar/pathfn.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67void SetName(wchar *FullName,const wchar *Name,size_t MaxSize)
68{
69 wchar *NamePtr=PointToName(FullName);
70 wcsncpyz(NamePtr,Name,MaxSize-(NamePtr-FullName));
71}
72
73
74void SetExt(wchar *Name,const wchar *NewExt,size_t MaxSize)

Callers 4

UpdateExistingShortNameFunction · 0.85
FindProcMethod · 0.85
uiAskReplaceExFunction · 0.85
Win32FindMethod · 0.85

Calls 2

PointToNameFunction · 0.85
wcsncpyzFunction · 0.85

Tested by

no test coverage detected