Jump to content

ObjEvent Help


Recommended Posts

I need some help with an object event. This is what I've tried, and a few other things, but I just can't get it.

ObjEvent ( $oDVD2, "DVDf_")
Func DVDf_DVDNotify("EC_DVD_DISC_EJECTED",0,0)
    MsgBox(0,0,0)
EndFunc

I'm trying to get the following events

EC_DVD_DISC_EJECTED

EC_DVD_DISC_INSERTED

EC_DVD_STILL_OFF

EC_DVD_STILL_ON

Here is a link to the info from msdn

http://msdn.microsoft.com/en-us/library/ms783428(VS.85).aspx

Thanks

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...