GetApplicationEventTarget() 개인적인 메소드

private GetApplicationEventTarget ( ) : IntPtr
리턴 System.IntPtr
예제 #1
0
        internal static void InstallApplicationEventHandler(IntPtr uppHandlerProc, EventTypeSpec[] eventTypes, IntPtr userData, IntPtr handlerRef)
        {
            OSStatus errorCode = API._InstallEventHandler(API.GetApplicationEventTarget(), uppHandlerProc, eventTypes.Length, eventTypes, userData, handlerRef);

            if (errorCode != OSStatus.NoError)
            {
                throw new MacOSException(errorCode);
            }
        }