Results 1 to 3 of 3

Thread: Any "void" parameter api's?

  1. #1
    VirtuallyVB
    Guest

    Question Any "void" parameter api's?

    I'm looking to test invocation of native Win api's from Java and I don't know if I'm passing the correct datatypes. Are there any api's that take no parameters and perhaps return no parameters (but do something that I can see if the invocation worked)?

    void someAPI(void); or
    void someAPI(); or maybe even
    int someAPI(void); or
    int someAPI(); or possibly
    void someAPI(int); or
    int someAPI(int);

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    DWORD GetLogicalDrives(VOID)
    HWND GetDesktopWindow(VOID)
    or
    VOID Sleep(
    DWORD dwMilliseconds // sleep time in milliseconds
    );
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    VirtuallyVB
    Guest
    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width