#declare [関数名, "DLL名", "内部関数名", 引数, 引数, ...]

引数部は ByValまたはByRef(省略するとByRef)+型(Integer、Double、String、Any)
使用時に最後の引数に戻り値。2.40からは省略可能

例:
#declare [GetPixel, "gdi32", "GetPixel", ByVal hdc As Integer, ByVal x As Integer, ByVal y As Integer]

Integer [coler]
GetPixel [hDC, 0, 0, color]