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

Method win32_proc

lib_acl_cpp/src/ipc/rpc.cpp:275–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273
274#ifdef ACL_WINDOWS
275void rpc_service::win32_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
276{
277 if (msg == RPC_WIN32_MSG) {
278 rpc_request* req = (rpc_request*) lParam;
279 if (req == NULL) {
280 abort();
281 }
282 req->rpc_onover();
283 } else if (msg == RPC_WIN32_SIG) {
284 rpc_request* req = (rpc_request*) lParam;
285 if (req == NULL) {
286 abort();
287 }
288 void* ctx = (void*) wParam;
289 req->rpc_wakeup(ctx);
290 }
291}
292#endif
293
294void rpc_service::rpc_fork(rpc_request* req)

Callers

nothing calls this directly

Calls 2

rpc_onoverMethod · 0.45
rpc_wakeupMethod · 0.45

Tested by

no test coverage detected