racket/pkgs/racket-doc/scribblings/foreign/winapi.scrbl
Matthew Flatt 2d4f3e2ac9 remove the "racket-pkgs" directory layer
The layer is now redundant, since everything left in "pkgs" is in the
"racket-pkgs" category.
2014-12-08 05:22:59 -07:00

19 lines
478 B
Racket

#lang scribble/doc
@(require "utils.rkt" (for-label ffi/winapi))
@title[#:tag "winapi"]{Windows API Helpers}
@defmodule[ffi/winapi]
@defthing[win64? boolean?]{
Indicates whether the current platform is 64-bit Windows: @racket[#t]
if so, @racket[#f] otherwise.}
@defthing[winapi (or/c 'stdcall 'default)]{
Suitable for use as an ABI specification for a Windows API function:
@racket['stdcall] on 32-bit Windows, @racket['default] on 64-bit
Windows or any other platform.}