Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created May 29, 2009 14:57
Show Gist options
  • Select an option

  • Save practicingruby/119989 to your computer and use it in GitHub Desktop.

Select an option

Save practicingruby/119989 to your computer and use it in GitHub Desktop.
API = ffi_builder("C:/Windows/pcmsvr32.dll") do
short :PCMSOpenServer, [:int, :int]
int :PCMSCloseServer, [:short]
long :PCMSCalcDistance, [:string, :string]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment