Skype should provide a way how to code this on linux. On linux you don't have messages, so the way you interface with windows, won't work on linux.
Lazarus provides a message emulation for the most common messages used by the VCL, for easier porting of Delphi apps. But those messages are LCL only and cannot be used for inter process communication.