Options

API command ~ thx

kitbsonkitbson Member Posts: 35 ■■□□□□□□□□
what is the function of API command ???


THX~~

Comments

  • Options
    bighornsheepbighornsheep Member Posts: 1,506
    API commands are part of a library of commands used by applications to communicate with the operating system. They are standard procedure calls to interface with the kernel. It's Windows' version of UNIX/LINUX system calls.
    Jack of all trades, master of none
  • Options
    Danman32Danman32 Member Posts: 1,243
    I wouldn't even call them 'commands'. That's probably what threw me off there.

    API stands for Application Programming Interface. API to applications are what ports are to networking.

    For example, in .Net Visual Basic, you have several 'built-in' procedures and functions that aren't really part of VB but rather APIs.
  • Options
    bighornsheepbighornsheep Member Posts: 1,506
    Danman32 wrote:
    I wouldn't even call them 'commands'. That's probably what threw me off there.

    I'm not familiar with Windows Programming, or perhaps its simply terminology. I was thinking in the context of Unix system command, interfacing an application in user mode with a system call in supervisor mode.

    But nevertheless, the idea of API is that there's a standard way of communicating an application with its operating environment.

    I totally agree with the port analogy,

    Cheers!
    Jack of all trades, master of none
  • Options
    bcairnsbcairns Member Posts: 280
    Ya like the Beep command calls the Win32 Beep API
    http://www.pinvoke.net/
Sign In or Register to comment.