title: JNA Struct and Pointer mapping
body: <p>How does one map the function below to java?<br></p>
  
  <p><b>VOID WriteToStruct(BOOL *Status, STRUCT_MSG RecBuff)</b></p>
  
  <p>What this function does: <br>
  1) Populates the struct RecBuff<br>
  2) Updates status<br></p>
  
  <p>How do I map to a boolean pointer in Java and access the struct data updated by the function?</p>