Jump to content

How d0 i convert this to Autoit - Dll call


Recommended Posts

How do i call a function called "cdrom close " in autoit from this dll ... :whistle:

Attribute VB_Name = "frmNirCmdTest"

Attribute VB_GlobalNameSpace = False

Attribute VB_Creatable = False

Attribute VB_PredeclaredId = True

Attribute VB_Exposed = False

Private Declare Function DoNirCmd Lib "nircmd.dll" (ByVal lpszCommand As String) As Integer

Private Sub CmdCloseCDRom_Click()

DoNirCmd "cdrom close"

End Sub

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...