MCPcopy Create free account
hub / github.com/devkitPro/libctru / APT_CancelParameter

Function APT_CancelParameter

libctru/source/services/apt.c:1277–1292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1275}
1276
1277Result APT_CancelParameter(NS_APPID source, NS_APPID dest, bool* success)
1278{
1279 u32 cmdbuf[16];
1280
1281 cmdbuf[0] = IPC_MakeHeader(0xF,4,0); // 0xF0100
1282 cmdbuf[1] = source != APPID_NONE;
1283 cmdbuf[2] = source;
1284 cmdbuf[3] = dest != APPID_NONE;
1285 cmdbuf[4] = dest;
1286
1287 Result ret = aptSendCommand(cmdbuf);
1288 if (R_SUCCEEDED(ret) && success)
1289 *success = cmdbuf[2] & 0xFF;
1290
1291 return ret;
1292}
1293
1294Result APT_SendCaptureBufferInfo(const aptCaptureBufInfo* captureBuf)
1295{

Callers 1

aptEventHandlerFunction · 0.85

Calls 2

IPC_MakeHeaderFunction · 0.85
aptSendCommandFunction · 0.85

Tested by

no test coverage detected