Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/system/Basis/Implementation/Win32/windows.sig
ViewVC logotype

View of /sml/trunk/system/Basis/Implementation/Win32/windows.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2933 - (download) (as text) (annotate)
Thu Jan 31 19:20:20 2008 UTC (13 years, 1 month ago) by larsberg
File size: 1424 byte(s)
Added win32 registry functions and outline of Windows basis library.
(* windows.sig
 *
 * COPYRIGHT (c) 2008 Fellowship of SML/NJ
 *
 * Signature for the interface to windows.
 *
 *)

signature WINDOWS = sig
    structure Key : WINDOWS_KEY
    structure Reg : WINDOWS_REG
    structure Config : WINDOWS_CONFIG
    structure DDE : WINDOWS_DDE

(*    val getVolumeInformation : string
                               -> {
                               volumeName : string,
                               systemName : string,
                               serialNumber : SysWord.word,
                               maximumComponentLength : int
                               }
    val findExecutable : string -> string option
    val launchApplication : string * string -> unit
    val openDocument : string -> unit
    val simpleExecute : string * string -> OS.Process.status

    type ('a,'b) proc

    val execute : string * string -> ('a, 'b) proc
    val textInstreamOf : (TextIO.instream, 'a) proc
			 -> TextIO.instream
    val binInstreamOf  : (BinIO.instream, 'a) proc
			 -> BinIO.instream
    val textOutstreamOf : ('a, TextIO.outstream) proc
                          -> TextIO.outstream
    val binOutstreamOf  : ('a, BinIO.outstream) proc
                          -> BinIO.outstream
    val reap : ('a, 'b) proc -> OS.Process.status *)

    structure Status : WINDOWS_STATUS
(*
    val fromStatus : OS.Process.status -> Status.status
    val exit : Status.status -> 'a *)
end 



root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0