From 53f9d1ed9bc99a5a03e7630fed5e64aca328d7e5 Mon Sep 17 00:00:00 2001 From: Zachary Picco Date: Mon, 12 Aug 2024 14:58:46 -0500 Subject: [PATCH] chore: Rename payload procedure rpc (#9) --- src/windows.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/windows.rs b/src/windows.rs index 99e7705..0e4ff2c 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -132,7 +132,10 @@ fn rpc( write_path: impl AsRef, ) -> Result<()> { let rpc = unsafe { - syringe.get_payload_procedure:: Option>(module, "main") + syringe.get_payload_procedure:: Option>( + module, + "payload_procedure", + ) }? .ok_or(anyhow!("Failed to get RPC procedure"))?; match rpc.call(