C# Class HidSharp.Platform.MacOS.NativeMethods

Datei anzeigen Open project: arvydas/BlinkStickDotNet

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CFDictionaryCreateMutable() public static method

public static CFDictionaryCreateMutable ( ) : IntPtr
return System.IntPtr

CFNumberCreate() public static method

public static CFNumberCreate ( int value ) : IntPtr
value int
return System.IntPtr

CFNumberGetValue() public static method

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

CFStringCreateWithCharacters() public static method

public static CFStringCreateWithCharacters ( string str ) : IntPtr
str string
return System.IntPtr

CFStringGetCharacters() public static method

public static CFStringGetCharacters ( IntPtr str ) : string
str System.IntPtr
return string

IORegistryEntryGetCFProperty_Int() public static method

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

IORegistryEntryGetCFProperty_String() public static method

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

ToCFType() public static method

public static ToCFType ( this handle ) : CFType
handle this
return CFType

ToIOObject() public static method

public static ToIOObject ( this handle ) : IOObject
handle this
return IOObject

Property Details

kCFRunLoopDefaultMode public_oe static_oe property

public static IntPtr,System kCFRunLoopDefaultMode
return System.IntPtr

kIOHIDLocationIDKey public_oe static_oe property

public static IntPtr,System kIOHIDLocationIDKey
return System.IntPtr

kIOHIDManufacturerKey public_oe static_oe property

public static IntPtr,System kIOHIDManufacturerKey
return System.IntPtr

kIOHIDMaxFeatureReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxFeatureReportSizeKey
return System.IntPtr

kIOHIDMaxInputReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxInputReportSizeKey
return System.IntPtr

kIOHIDMaxOutputReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxOutputReportSizeKey
return System.IntPtr

kIOHIDProductIDKey public_oe static_oe property

public static IntPtr,System kIOHIDProductIDKey
return System.IntPtr

kIOHIDProductKey public_oe static_oe property

public static IntPtr,System kIOHIDProductKey
return System.IntPtr

kIOHIDSerialNumberKey public_oe static_oe property

public static IntPtr,System kIOHIDSerialNumberKey
return System.IntPtr

kIOHIDVendorIDKey public_oe static_oe property

public static IntPtr,System kIOHIDVendorIDKey
return System.IntPtr

kIOHIDVersionNumberKey public_oe static_oe property

public static IntPtr,System kIOHIDVersionNumberKey
return System.IntPtr