Guidance
指路人
g.yi.org
software / rapidq / Examples / Win32API & DLL / kernel32 / Source / kernel32.inc

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
' program: kernel32.inc  - from kernel32.dll
' version: 1.00
' last update: January 19th, 2005
' By Noble Software - http://www.noblesoftware.com

' Function to delete a file from the computer.
     DECLARE FUNCTION KILLFILE LIB "KERNEL32.DLL" ALIAS "DeleteFileA" (lpFilename AS STRING) AS LONG

' Beep the internal speaker.
     DECLARE FUNCTION BEEP LIB "KERNEL32.DLL" ALIAS "Beep" (dwFrequency AS LONG, dwDuration AS LONG) AS LONG

' Copy a file from one location to another.
     DECLARE FUNCTION COPYFILE LIB "KERNEL32.DLL" ALIAS "CopyFileA" (lpExistingFileName AS STRING, lpNewFileName AS STRING, bOverwrite AS LONG) AS LONG

' Halt the computer of a number of milliseconds. 1000 millisecons = 1 second.
     DECLARE FUNCTION SLEEP LIB "KERNEL32" ALIAS "Sleep" (dwMilliseconds AS LONG)






掌柜推荐
 
 
¥1,800.00 ·
 
 
¥489.00 ·
 
 
¥288.00 ·
 
 
¥908.00 ·
 
 
¥748.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2005-01-19 21:54:00