C# Class HidSharp.Platform.MacOS.NativeMethods

Afficher le fichier Open project: arvydas/BlinkStickDotNet

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static CFDictionaryCreateMutable ( ) : IntPtr
Résultat System.IntPtr

CFNumberCreate() public static méthode

public static CFNumberCreate ( int value ) : IntPtr
value int
Résultat System.IntPtr

CFNumberGetValue() public static méthode

public static CFNumberGetValue ( IntPtr number ) : int?
number System.IntPtr
Résultat int?

CFStringCreateWithCharacters() public static méthode

public static CFStringCreateWithCharacters ( string str ) : IntPtr
str string
Résultat System.IntPtr

CFStringGetCharacters() public static méthode

public static CFStringGetCharacters ( IntPtr str ) : string
str System.IntPtr
Résultat string

IORegistryEntryGetCFProperty_Int() public static méthode

public static IORegistryEntryGetCFProperty_Int ( int entry, IntPtr strKey ) : int?
entry int
strKey System.IntPtr
Résultat int?

IORegistryEntryGetCFProperty_String() public static méthode

public static IORegistryEntryGetCFProperty_String ( int entry, IntPtr strKey ) : string
entry int
strKey System.IntPtr
Résultat string

ToCFType() public static méthode

public static ToCFType ( this handle ) : CFType
handle this
Résultat CFType

ToIOObject() public static méthode

public static ToIOObject ( this handle ) : IOObject
handle this
Résultat IOObject

Property Details

kCFRunLoopDefaultMode public_oe static_oe property

public static IntPtr,System kCFRunLoopDefaultMode
Résultat System.IntPtr

kIOHIDLocationIDKey public_oe static_oe property

public static IntPtr,System kIOHIDLocationIDKey
Résultat System.IntPtr

kIOHIDManufacturerKey public_oe static_oe property

public static IntPtr,System kIOHIDManufacturerKey
Résultat System.IntPtr

kIOHIDMaxFeatureReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxFeatureReportSizeKey
Résultat System.IntPtr

kIOHIDMaxInputReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxInputReportSizeKey
Résultat System.IntPtr

kIOHIDMaxOutputReportSizeKey public_oe static_oe property

public static IntPtr,System kIOHIDMaxOutputReportSizeKey
Résultat System.IntPtr

kIOHIDProductIDKey public_oe static_oe property

public static IntPtr,System kIOHIDProductIDKey
Résultat System.IntPtr

kIOHIDProductKey public_oe static_oe property

public static IntPtr,System kIOHIDProductKey
Résultat System.IntPtr

kIOHIDSerialNumberKey public_oe static_oe property

public static IntPtr,System kIOHIDSerialNumberKey
Résultat System.IntPtr

kIOHIDVendorIDKey public_oe static_oe property

public static IntPtr,System kIOHIDVendorIDKey
Résultat System.IntPtr

kIOHIDVersionNumberKey public_oe static_oe property

public static IntPtr,System kIOHIDVersionNumberKey
Résultat System.IntPtr