MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpSystem_GetComputerName

Function BfpSystem_GetComputerName

BeefySysLib/platform/win/Platform.cpp:1227–1233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1225}
1226
1227BFP_EXPORT void BFP_CALLTYPE BfpSystem_GetComputerName(char* outStr, int* inOutStrSize, BfpSystemResult* outResult)
1228{
1229 char computerName[MAX_COMPUTERNAME_LENGTH + 1] = { 0 };
1230 DWORD computerNameSize = MAX_COMPUTERNAME_LENGTH;
1231 GetComputerNameA(computerName, &computerNameSize);
1232 TryStringOut(computerName, outStr, inOutStrSize, (BfpResult*)outResult);
1233}
1234
1235/// BfpFileWatcher
1236

Callers 1

InitMethod · 0.50

Calls 1

TryStringOutFunction · 0.85

Tested by

no test coverage detected