You can do it with a dll, like mircustom.dll.