mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-01 21:34:15 +00:00
18 lines
545 B
C
18 lines
545 B
C
|
|
#pragma once
|
||
|
|
#ifndef __PL_HOST_API_HOOK_H__
|
||
|
|
#define __PL_HOST_API_HOOK_H__
|
||
|
|
|
||
|
|
#include "HostSuspendCallID.h"
|
||
|
|
|
||
|
|
namespace PortabilityLayer
|
||
|
|
{
|
||
|
|
union HostSuspendCallArgument;
|
||
|
|
|
||
|
|
typedef void(*HostSuspendHook_t)(void *context, HostSuspendCallID callID, const HostSuspendCallArgument *args, HostSuspendCallArgument *returnValue);
|
||
|
|
|
||
|
|
void InstallHostSuspendHook(HostSuspendHook_t hook, void *context);
|
||
|
|
void SuspendApplication(HostSuspendCallID callID, const HostSuspendCallArgument *args, HostSuspendCallArgument *returnValue);
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif
|