axfv 0 Newbie Poster

I'm going crazy trying to figure this out. I want to have a program that detects when a user locks or unlocks the computer, and I know ISensLogon has the functionality I need (MSDN link: http://msdn.microsoft.com/en-us/library/aa376860(VS.85).aspx) but I cannot seem to find ANY examples of how to work with it.

MSDN tells me to "implement this interface on your sink object". How do I create a sink object, and how do I implement an interface?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.