SFENCE Wiki
The SFENCE dynamic library is an interface for writing programs.
Status: Beta
Brought to you by:
sfence
extern SFENCEAPI enum eSFENCE_Bool SFENCECALL Protocol_Protocol_Can_Receive(struct sProtocol_Protocol *ps_protocol, uintptr_t *pu0_receive);
| Parameter | Meaning |
|---|---|
| ps_protocol | pointer of Protocol_Protocol |
| pu0_receive | pointer of number for received number of messages which can be received, can be NULL |
| Value | Meaning |
|---|---|
| eSFENCE_Bool_True, eSFENCE_Bool_Success | any message can be received |
| eSFENCE_bool_False | no message can be received |
| eSFENCE_Bool_Fail | it means that there was happend some critical error in driver of Protocol_Protocol object. |
Protocol_Protocol_Can_Receive function is used for check if you can receive any message from protocol.