MCPcopy Create free account
hub / github.com/acl-dev/acl / DetourBinarySetPayload

Function DetourBinarySetPayload

lib_fiber/cpp/src/detours/image.cpp:2092–2103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2090}
2091
2092PVOID WINAPI DetourBinarySetPayload(_In_ PDETOUR_BINARY pBinary,
2093 _In_ REFGUID rguid,
2094 _In_reads_opt_(cbData) PVOID pvData,
2095 _In_ DWORD cbData)
2096{
2097 Detour::CImage *pImage = Detour::CImage::IsValid(pBinary);
2098 if (pImage == NULL) {
2099 return NULL;
2100 }
2101
2102 return pImage->DataSet(rguid, (PBYTE)pvData, cbData);
2103}
2104
2105BOOL WINAPI DetourBinaryDeletePayload(_In_ PDETOUR_BINARY pBinary,
2106 _In_ REFGUID rguid)

Callers

nothing calls this directly

Calls 1

DataSetMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…