C# 클래스 HidSharp.Platform.MacOS.NativeMethods

파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet

공개 프로퍼티들

프로퍼티 타입 설명
kCFRunLoopDefaultMode System.IntPtr
kIOHIDLocationIDKey System.IntPtr
kIOHIDManufacturerKey System.IntPtr
kIOHIDMaxFeatureReportSizeKey System.IntPtr
kIOHIDMaxInputReportSizeKey System.IntPtr
kIOHIDMaxOutputReportSizeKey System.IntPtr
kIOHIDProductIDKey System.IntPtr
kIOHIDProductKey System.IntPtr
kIOHIDSerialNumberKey System.IntPtr
kIOHIDVendorIDKey System.IntPtr
kIOHIDVersionNumberKey System.IntPtr

공개 메소드들

메소드 설명
CFDictionaryCreateMutable ( ) : IntPtr
CFNumberCreate ( int value ) : IntPtr
CFNumberGetValue ( IntPtr number ) : int?
CFStringCreateWithCharacters ( string str ) : IntPtr
CFStringGetCharacters ( IntPtr str ) : string
IORegistryEntryGetCFProperty_Int ( int entry, IntPtr strKey ) : int?
IORegistryEntryGetCFProperty_String ( int entry, IntPtr strKey ) : string
ToCFType ( this handle ) : CFType
ToIOObject ( this handle ) : IOObject

비공개 메소드들

메소드 설명
CFDictionaryCreateMutable ( IntPtr allocator, IntPtr capacity, IntPtr keyCallbacks, IntPtr valueCallbacks ) : IntPtr
CFDictionarySetValue ( IntPtr dict, IntPtr key, IntPtr value ) : void
CFGetTypeID ( IntPtr type ) : uint
CFNumberCreate ( IntPtr allocator, CFNumberType type, int &value ) : IntPtr
CFNumberGetTypeID ( ) : uint
CFNumberGetValue ( IntPtr number, CFNumberType type, int &value ) : bool
CFRelease ( IntPtr obj ) : void
CFRetain ( IntPtr obj ) : void
CFRunLoopGetCurrent ( ) : IntPtr
CFRunLoopRun ( ) : void
CFRunLoopStop ( IntPtr runLoop ) : void
CFSetGetCount ( IntPtr set ) : IntPtr
CFSetGetValues ( IntPtr set, IntPtr values ) : void
CFStringCreateWithCharacters ( IntPtr allocator, char buffer, IntPtr length ) : IntPtr
CFStringGetCharacters ( IntPtr str, CFRange range, char buffer ) : void
CFStringGetLength ( IntPtr str ) : IntPtr
CFStringGetTypeID ( ) : uint
Gestalt ( OSType selector, IntPtr &response ) : OSErr
IOHIDDeviceClose ( IntPtr device, IOOptionBits options = IOOptionBits.None ) : IOReturn
IOHIDDeviceCreate ( IntPtr allocator, int service ) : IntPtr
IOHIDDeviceGetReport ( IntPtr device, IOHIDReportType type, IntPtr reportID, IntPtr report, IntPtr &reportLength ) : IOReturn
IOHIDDeviceOpen ( IntPtr device, IOOptionBits options = IOOptionBits.None ) : IOReturn
IOHIDDeviceRegisterInputReportCallback ( IntPtr device, IntPtr report, IntPtr reportLength, IOHIDReportCallback callback, IntPtr context ) : void
IOHIDDeviceRegisterRemovalCallback ( IntPtr device, IOHIDCallback callback, IntPtr context ) : void
IOHIDDeviceScheduleWithRunLoop ( IntPtr device, IntPtr runLoop, IntPtr runLoopMode ) : void
IOHIDDeviceSetReport ( IntPtr device, IOHIDReportType type, IntPtr reportID, IntPtr report, IntPtr reportLength ) : IOReturn
IOHIDDeviceUnscheduleFromRunLoop ( IntPtr device, IntPtr runLoop, IntPtr runLoopMode ) : void
IOIteratorNext ( int iterator ) : int
IOObjectRelease ( int @object ) : IOReturn
IOObjectRetain ( int @object ) : IOReturn
IORegistryEntryCreateCFProperty ( int entry, IntPtr strKey, IntPtr allocator, IOOptionBits options = IOOptionBits.None ) : IntPtr
IORegistryEntryFromPath ( int masterPort, io_string_t &path ) : int
IORegistryEntryGetPath ( int entry, [ plane, io_string_t &path ) : IOReturn
IOServiceGetMatchingServices ( int masterPort, IntPtr matching, int &iterator ) : IOReturn
IOServiceMatching ( [ name ) : IntPtr

메소드 상세

CFDictionaryCreateMutable() 공개 정적인 메소드

public static CFDictionaryCreateMutable ( ) : IntPtr
리턴 System.IntPtr

CFNumberCreate() 공개 정적인 메소드

public static CFNumberCreate ( int value ) : IntPtr
value int
리턴 System.IntPtr

CFNumberGetValue() 공개 정적인 메소드

public static CFNumberGetValue ( IntPtr number ) : int?
number System.IntPtr
리턴 int?

CFStringCreateWithCharacters() 공개 정적인 메소드

public static CFStringCreateWithCharacters ( string str ) : IntPtr
str string
리턴 System.IntPtr

CFStringGetCharacters() 공개 정적인 메소드

public static CFStringGetCharacters ( IntPtr str ) : string
str System.IntPtr
리턴 string

IORegistryEntryGetCFProperty_Int() 공개 정적인 메소드

public static IORegistryEntryGetCFProperty_Int ( int entry, IntPtr strKey ) : int?
entry int
strKey System.IntPtr
리턴 int?

IORegistryEntryGetCFProperty_String() 공개 정적인 메소드

public static IORegistryEntryGetCFProperty_String ( int entry, IntPtr strKey ) : string
entry int
strKey System.IntPtr
리턴 string

ToCFType() 공개 정적인 메소드

public static ToCFType ( this handle ) : CFType
handle this
리턴 CFType

ToIOObject() 공개 정적인 메소드

public static ToIOObject ( this handle ) : IOObject
handle this
리턴 IOObject

프로퍼티 상세

kCFRunLoopDefaultMode 공개적으로 정적으로 프로퍼티

public static IntPtr,System kCFRunLoopDefaultMode
리턴 System.IntPtr

kIOHIDLocationIDKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDLocationIDKey
리턴 System.IntPtr

kIOHIDManufacturerKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDManufacturerKey
리턴 System.IntPtr

kIOHIDMaxFeatureReportSizeKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDMaxFeatureReportSizeKey
리턴 System.IntPtr

kIOHIDMaxInputReportSizeKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDMaxInputReportSizeKey
리턴 System.IntPtr

kIOHIDMaxOutputReportSizeKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDMaxOutputReportSizeKey
리턴 System.IntPtr

kIOHIDProductIDKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDProductIDKey
리턴 System.IntPtr

kIOHIDProductKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDProductKey
리턴 System.IntPtr

kIOHIDSerialNumberKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDSerialNumberKey
리턴 System.IntPtr

kIOHIDVendorIDKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDVendorIDKey
리턴 System.IntPtr

kIOHIDVersionNumberKey 공개적으로 정적으로 프로퍼티

public static IntPtr,System kIOHIDVersionNumberKey
리턴 System.IntPtr