Class Functions
public class Functions
- Inheritance
-
Functions
- Inherited Members
Methods
ActionNameIsValid(NonNullableUtf8StringHandle)
Calls native function g_action_name_is_valid. Version: 2.38
[Version("2.38")]
public static extern bool ActionNameIsValid(NonNullableUtf8StringHandle actionName)
Parameters
actionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ActionPrintDetailedName(NonNullableUtf8StringHandle, VariantHandle)
Calls native function g_action_print_detailed_name. Version: 2.38
[Version("2.38")]
public static extern NonNullableUtf8StringOwnedHandle ActionPrintDetailedName(NonNullableUtf8StringHandle actionName, VariantHandle targetValue)
Parameters
actionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
targetValue
VariantHandleTransfer ownership: None Nullable: True
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
AppInfoCreateFromCommandline(NonNullablePlatformStringHandle, NullableUtf8StringHandle, AppInfoCreateFlags, out ErrorOwnedHandle)
Calls native function g_app_info_create_from_commandline.
public static extern IntPtr AppInfoCreateFromCommandline(NonNullablePlatformStringHandle commandline, NullableUtf8StringHandle applicationName, AppInfoCreateFlags flags, out ErrorOwnedHandle error)
Parameters
commandline
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
applicationName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flags
AppInfoCreateFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AppInfoGetAll()
Calls native function g_app_info_get_all.
public static extern ListOwnedHandle AppInfoGetAll()
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
AppInfoGetAllForType(NonNullableUtf8StringHandle)
Calls native function g_app_info_get_all_for_type.
public static extern ListOwnedHandle AppInfoGetAllForType(NonNullableUtf8StringHandle contentType)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
AppInfoGetDefaultForType(NonNullableUtf8StringHandle, bool)
Calls native function g_app_info_get_default_for_type.
public static extern IntPtr AppInfoGetDefaultForType(NonNullableUtf8StringHandle contentType, bool mustSupportUris)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
mustSupportUris
boolTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
AppInfoGetDefaultForTypeAsync(NonNullableUtf8StringHandle, bool, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_app_info_get_default_for_type_async. Version: 2.74
[Version("2.74")]
public static extern void AppInfoGetDefaultForTypeAsync(NonNullableUtf8StringHandle contentType, bool mustSupportUris, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
mustSupportUris
boolTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
AppInfoGetDefaultForTypeFinish(IntPtr, out ErrorOwnedHandle)
Calls native function g_app_info_get_default_for_type_finish. Version: 2.74
[Version("2.74")]
public static extern IntPtr AppInfoGetDefaultForTypeFinish(IntPtr result, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AppInfoGetDefaultForUriScheme(NonNullableUtf8StringHandle)
Calls native function g_app_info_get_default_for_uri_scheme.
public static extern IntPtr AppInfoGetDefaultForUriScheme(NonNullableUtf8StringHandle uriScheme)
Parameters
uriScheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
AppInfoGetDefaultForUriSchemeAsync(NonNullableUtf8StringHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_app_info_get_default_for_uri_scheme_async. Version: 2.74
[Version("2.74")]
public static extern void AppInfoGetDefaultForUriSchemeAsync(NonNullableUtf8StringHandle uriScheme, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
uriScheme
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
AppInfoGetDefaultForUriSchemeFinish(IntPtr, out ErrorOwnedHandle)
Calls native function g_app_info_get_default_for_uri_scheme_finish. Version: 2.74
[Version("2.74")]
public static extern IntPtr AppInfoGetDefaultForUriSchemeFinish(IntPtr result, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
AppInfoGetFallbackForType(NonNullableUtf8StringHandle)
Calls native function g_app_info_get_fallback_for_type. Version: 2.28
[Version("2.28")]
public static extern ListOwnedHandle AppInfoGetFallbackForType(NonNullableUtf8StringHandle contentType)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
AppInfoGetRecommendedForType(NonNullableUtf8StringHandle)
Calls native function g_app_info_get_recommended_for_type. Version: 2.28
[Version("2.28")]
public static extern ListOwnedHandle AppInfoGetRecommendedForType(NonNullableUtf8StringHandle contentType)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
AppInfoLaunchDefaultForUri(NonNullableUtf8StringHandle, IntPtr, out ErrorOwnedHandle)
Calls native function g_app_info_launch_default_for_uri.
public static extern bool AppInfoLaunchDefaultForUri(NonNullableUtf8StringHandle uri, IntPtr context, out ErrorOwnedHandle error)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
AppInfoLaunchDefaultForUriAsync(NonNullableUtf8StringHandle, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_app_info_launch_default_for_uri_async. Version: 2.50
[Version("2.50")]
public static extern void AppInfoLaunchDefaultForUriAsync(NonNullableUtf8StringHandle uri, IntPtr context, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
AppInfoLaunchDefaultForUriFinish(IntPtr, out ErrorOwnedHandle)
Calls native function g_app_info_launch_default_for_uri_finish. Version: 2.50
[Version("2.50")]
public static extern bool AppInfoLaunchDefaultForUriFinish(IntPtr result, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
AppInfoResetTypeAssociations(NonNullableUtf8StringHandle)
Calls native function g_app_info_reset_type_associations. Version: 2.20
[Version("2.20")]
public static extern void AppInfoResetTypeAssociations(NonNullableUtf8StringHandle contentType)
Parameters
contentType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
AsyncInitableNewvAsync(Type, uint, ParameterHandle, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_async_initable_newv_async. Version: 2.22
[Version("2.22")]
public static extern void AsyncInitableNewvAsync(Type objectType, uint nParameters, ParameterHandle parameters, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
nParameters
uintTransfer ownership: None Nullable: False
parameters
ParameterHandleTransfer ownership: None Nullable: False
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
BusGet(BusType, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_bus_get. Version: 2.26
[Version("2.26")]
public static extern void BusGet(BusType busType, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
BusGetFinish(IntPtr, out ErrorOwnedHandle)
Calls native function g_bus_get_finish. Version: 2.26
[Version("2.26")]
public static extern IntPtr BusGetFinish(IntPtr res, out ErrorOwnedHandle error)
Parameters
res
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
BusGetSync(BusType, IntPtr, out ErrorOwnedHandle)
Calls native function g_bus_get_sync. Version: 2.26
[Version("2.26")]
public static extern IntPtr BusGetSync(BusType busType, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
BusOwnName(BusType, NonNullableUtf8StringHandle, BusNameOwnerFlags, ClosureHandle, ClosureHandle, ClosureHandle)
Calls native function g_bus_own_name_with_closures. Version: 2.26
[Version("2.26")]
public static extern uint BusOwnName(BusType busType, NonNullableUtf8StringHandle name, BusNameOwnerFlags flags, ClosureHandle busAcquiredClosure, ClosureHandle nameAcquiredClosure, ClosureHandle nameLostClosure)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameOwnerFlagsTransfer ownership: None Nullable: False
busAcquiredClosure
ClosureHandleTransfer ownership: None Nullable: True
nameAcquiredClosure
ClosureHandleTransfer ownership: None Nullable: True
nameLostClosure
ClosureHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusOwnName(BusType, NonNullableUtf8StringHandle, BusNameOwnerFlags, BusAcquiredCallback, BusNameAcquiredCallback, BusNameLostCallback, IntPtr, DestroyNotify)
Calls native function g_bus_own_name. Version: 2.26
[Version("2.26")]
public static extern uint BusOwnName(BusType busType, NonNullableUtf8StringHandle name, BusNameOwnerFlags flags, BusAcquiredCallback busAcquiredHandler, BusNameAcquiredCallback nameAcquiredHandler, BusNameLostCallback nameLostHandler, IntPtr userData, DestroyNotify userDataFreeFunc)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameOwnerFlagsTransfer ownership: None Nullable: False
busAcquiredHandler
BusAcquiredCallbackTransfer ownership: None Nullable: True
nameAcquiredHandler
BusNameAcquiredCallbackTransfer ownership: None Nullable: True
nameLostHandler
BusNameLostCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusOwnNameOnConnection(IntPtr, NonNullableUtf8StringHandle, BusNameOwnerFlags, ClosureHandle, ClosureHandle)
Calls native function g_bus_own_name_on_connection_with_closures. Version: 2.26
[Version("2.26")]
public static extern uint BusOwnNameOnConnection(IntPtr connection, NonNullableUtf8StringHandle name, BusNameOwnerFlags flags, ClosureHandle nameAcquiredClosure, ClosureHandle nameLostClosure)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameOwnerFlagsTransfer ownership: None Nullable: False
nameAcquiredClosure
ClosureHandleTransfer ownership: None Nullable: True
nameLostClosure
ClosureHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusOwnNameOnConnection(IntPtr, NonNullableUtf8StringHandle, BusNameOwnerFlags, BusNameAcquiredCallback, BusNameLostCallback, IntPtr, DestroyNotify)
Calls native function g_bus_own_name_on_connection. Version: 2.26
[Version("2.26")]
public static extern uint BusOwnNameOnConnection(IntPtr connection, NonNullableUtf8StringHandle name, BusNameOwnerFlags flags, BusNameAcquiredCallback nameAcquiredHandler, BusNameLostCallback nameLostHandler, IntPtr userData, DestroyNotify userDataFreeFunc)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameOwnerFlagsTransfer ownership: None Nullable: False
nameAcquiredHandler
BusNameAcquiredCallbackTransfer ownership: None Nullable: True
nameLostHandler
BusNameLostCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusUnownName(uint)
Calls native function g_bus_unown_name. Version: 2.26
[Version("2.26")]
public static extern void BusUnownName(uint ownerId)
Parameters
ownerId
uintTransfer ownership: None Nullable: False
BusUnwatchName(uint)
Calls native function g_bus_unwatch_name. Version: 2.26
[Version("2.26")]
public static extern void BusUnwatchName(uint watcherId)
Parameters
watcherId
uintTransfer ownership: None Nullable: False
BusWatchName(BusType, NonNullableUtf8StringHandle, BusNameWatcherFlags, ClosureHandle, ClosureHandle)
Calls native function g_bus_watch_name_with_closures. Version: 2.26
[Version("2.26")]
public static extern uint BusWatchName(BusType busType, NonNullableUtf8StringHandle name, BusNameWatcherFlags flags, ClosureHandle nameAppearedClosure, ClosureHandle nameVanishedClosure)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameWatcherFlagsTransfer ownership: None Nullable: False
nameAppearedClosure
ClosureHandleTransfer ownership: None Nullable: True
nameVanishedClosure
ClosureHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusWatchName(BusType, NonNullableUtf8StringHandle, BusNameWatcherFlags, BusNameAppearedCallback, BusNameVanishedCallback, IntPtr, DestroyNotify)
Calls native function g_bus_watch_name. Version: 2.26
[Version("2.26")]
public static extern uint BusWatchName(BusType busType, NonNullableUtf8StringHandle name, BusNameWatcherFlags flags, BusNameAppearedCallback nameAppearedHandler, BusNameVanishedCallback nameVanishedHandler, IntPtr userData, DestroyNotify userDataFreeFunc)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameWatcherFlagsTransfer ownership: None Nullable: False
nameAppearedHandler
BusNameAppearedCallbackTransfer ownership: None Nullable: True
nameVanishedHandler
BusNameVanishedCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusWatchNameOnConnection(IntPtr, NonNullableUtf8StringHandle, BusNameWatcherFlags, ClosureHandle, ClosureHandle)
Calls native function g_bus_watch_name_on_connection_with_closures. Version: 2.26
[Version("2.26")]
public static extern uint BusWatchNameOnConnection(IntPtr connection, NonNullableUtf8StringHandle name, BusNameWatcherFlags flags, ClosureHandle nameAppearedClosure, ClosureHandle nameVanishedClosure)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameWatcherFlagsTransfer ownership: None Nullable: False
nameAppearedClosure
ClosureHandleTransfer ownership: None Nullable: True
nameVanishedClosure
ClosureHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
BusWatchNameOnConnection(IntPtr, NonNullableUtf8StringHandle, BusNameWatcherFlags, BusNameAppearedCallback, BusNameVanishedCallback, IntPtr, DestroyNotify)
Calls native function g_bus_watch_name_on_connection. Version: 2.26
[Version("2.26")]
public static extern uint BusWatchNameOnConnection(IntPtr connection, NonNullableUtf8StringHandle name, BusNameWatcherFlags flags, BusNameAppearedCallback nameAppearedHandler, BusNameVanishedCallback nameVanishedHandler, IntPtr userData, DestroyNotify userDataFreeFunc)
Parameters
connection
IntPtrTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
flags
BusNameWatcherFlagsTransfer ownership: None Nullable: False
nameAppearedHandler
BusNameAppearedCallbackTransfer ownership: None Nullable: True
nameVanishedHandler
BusNameVanishedCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
userDataFreeFunc
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
ContentTypeCanBeExecutable(NonNullableUtf8StringHandle)
Calls native function g_content_type_can_be_executable.
public static extern bool ContentTypeCanBeExecutable(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContentTypeEquals(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_content_type_equals.
public static extern bool ContentTypeEquals(NonNullableUtf8StringHandle type1, NonNullableUtf8StringHandle type2)
Parameters
type1
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type2
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContentTypeFromMimeType(NonNullableUtf8StringHandle)
Calls native function g_content_type_from_mime_type. Version: 2.18
[Version("2.18")]
public static extern NullableUtf8StringOwnedHandle ContentTypeFromMimeType(NonNullableUtf8StringHandle mimeType)
Parameters
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ContentTypeGetDescription(NonNullableUtf8StringHandle)
Calls native function g_content_type_get_description.
public static extern NonNullableUtf8StringOwnedHandle ContentTypeGetDescription(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
ContentTypeGetGenericIconName(NonNullableUtf8StringHandle)
Calls native function g_content_type_get_generic_icon_name. Version: 2.34
[Version("2.34")]
public static extern NullableUtf8StringOwnedHandle ContentTypeGetGenericIconName(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ContentTypeGetIcon(NonNullableUtf8StringHandle)
Calls native function g_content_type_get_icon.
public static extern IntPtr ContentTypeGetIcon(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ContentTypeGetMimeDirs()
Calls native function g_content_type_get_mime_dirs. Version: 2.60
[Version("2.60")]
public static extern Utf8StringArrayNullTerminatedUnownedHandle ContentTypeGetMimeDirs()
Returns
- Utf8StringArrayNullTerminatedUnownedHandle
Transfer ownership: None Nullable: False
ContentTypeGetMimeType(NonNullableUtf8StringHandle)
Calls native function g_content_type_get_mime_type.
public static extern NullableUtf8StringOwnedHandle ContentTypeGetMimeType(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
ContentTypeGetSymbolicIcon(NonNullableUtf8StringHandle)
Calls native function g_content_type_get_symbolic_icon. Version: 2.34
[Version("2.34")]
public static extern IntPtr ContentTypeGetSymbolicIcon(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ContentTypeGuess(NullablePlatformStringHandle, ref byte, nuint, out bool)
Calls native function g_content_type_guess.
public static extern NonNullableUtf8StringOwnedHandle ContentTypeGuess(NullablePlatformStringHandle filename, ref byte data, nuint dataSize, out bool resultUncertain)
Parameters
filename
NullablePlatformStringHandleTransfer ownership: None Nullable: True
data
byteTransfer ownership: None Nullable: True
dataSize
nuintTransfer ownership: None Nullable: False
resultUncertain
boolTransfer ownership: Full Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
ContentTypeGuessForTree(IntPtr)
Calls native function g_content_type_guess_for_tree. Version: 2.18
[Version("2.18")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle ContentTypeGuessForTree(IntPtr root)
Parameters
root
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
ContentTypeIsA(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_content_type_is_a.
public static extern bool ContentTypeIsA(NonNullableUtf8StringHandle type, NonNullableUtf8StringHandle supertype)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
supertype
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContentTypeIsMimeType(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_content_type_is_mime_type. Version: 2.52
[Version("2.52")]
public static extern bool ContentTypeIsMimeType(NonNullableUtf8StringHandle type, NonNullableUtf8StringHandle mimeType)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContentTypeIsUnknown(NonNullableUtf8StringHandle)
Calls native function g_content_type_is_unknown.
public static extern bool ContentTypeIsUnknown(NonNullableUtf8StringHandle type)
Parameters
type
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ContentTypeSetMimeDirs(Utf8StringArrayNullTerminatedHandle)
Calls native function g_content_type_set_mime_dirs. Version: 2.60
[Version("2.60")]
public static extern void ContentTypeSetMimeDirs(Utf8StringArrayNullTerminatedHandle dirs)
Parameters
dirs
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
ContentTypesGetRegistered()
Calls native function g_content_types_get_registered.
public static extern ListOwnedHandle ContentTypesGetRegistered()
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
DbusAddressEscapeValue(NonNullableUtf8StringHandle)
Calls native function g_dbus_address_escape_value. Version: 2.36
[Version("2.36")]
public static extern NonNullableUtf8StringOwnedHandle DbusAddressEscapeValue(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusAddressGetForBusSync(BusType, IntPtr, out ErrorOwnedHandle)
Calls native function g_dbus_address_get_for_bus_sync. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringOwnedHandle DbusAddressGetForBusSync(BusType busType, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
busType
BusTypeTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusAddressGetStream(NonNullableUtf8StringHandle, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_dbus_address_get_stream. Version: 2.26
[Version("2.26")]
public static extern void DbusAddressGetStream(NonNullableUtf8StringHandle address, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
address
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
DbusAddressGetStreamFinish(IntPtr, out NullableUtf8StringOwnedHandle, out ErrorOwnedHandle)
Calls native function g_dbus_address_get_stream_finish. Version: 2.26
[Version("2.26")]
public static extern IntPtr DbusAddressGetStreamFinish(IntPtr res, out NullableUtf8StringOwnedHandle outGuid, out ErrorOwnedHandle error)
Parameters
res
IntPtrTransfer ownership: None Nullable: False
outGuid
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
DbusAddressGetStreamSync(NonNullableUtf8StringHandle, out NullableUtf8StringOwnedHandle, IntPtr, out ErrorOwnedHandle)
Calls native function g_dbus_address_get_stream_sync. Version: 2.26
[Version("2.26")]
public static extern IntPtr DbusAddressGetStreamSync(NonNullableUtf8StringHandle address, out NullableUtf8StringOwnedHandle outGuid, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
address
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
outGuid
NullableUtf8StringOwnedHandleTransfer ownership: Full Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
DbusAnnotationInfoLookup(ref IntPtr, NonNullableUtf8StringHandle)
Calls native function g_dbus_annotation_info_lookup. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringUnownedHandle DbusAnnotationInfoLookup(ref IntPtr annotations, NonNullableUtf8StringHandle name)
Parameters
annotations
IntPtrTransfer ownership: None Nullable: True
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
DbusErrorEncodeGerror(ErrorHandle)
Calls native function g_dbus_error_encode_gerror. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringOwnedHandle DbusErrorEncodeGerror(ErrorHandle error)
Parameters
error
ErrorHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusErrorGetRemoteError(ErrorHandle)
Calls native function g_dbus_error_get_remote_error. Version: 2.26
[Version("2.26")]
public static extern NullableUtf8StringOwnedHandle DbusErrorGetRemoteError(ErrorHandle error)
Parameters
error
ErrorHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
DbusErrorIsRemoteError(ErrorHandle)
Calls native function g_dbus_error_is_remote_error. Version: 2.26
[Version("2.26")]
public static extern bool DbusErrorIsRemoteError(ErrorHandle error)
Parameters
error
ErrorHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DbusErrorNewForDbusError(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function g_dbus_error_new_for_dbus_error. Version: 2.26
[Version("2.26")]
public static extern ErrorOwnedHandle DbusErrorNewForDbusError(NonNullableUtf8StringHandle dbusErrorName, NonNullableUtf8StringHandle dbusErrorMessage)
Parameters
dbusErrorName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
dbusErrorMessage
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- ErrorOwnedHandle
Transfer ownership: Full Nullable: False
DbusErrorQuark()
Calls native function g_dbus_error_quark.
public static extern uint DbusErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
DbusErrorRegisterError(Quark, int, NonNullableUtf8StringHandle)
Calls native function g_dbus_error_register_error. Version: 2.26
[Version("2.26")]
public static extern bool DbusErrorRegisterError(Quark errorDomain, int errorCode, NonNullableUtf8StringHandle dbusErrorName)
Parameters
errorDomain
QuarkTransfer ownership: None Nullable: False
errorCode
intTransfer ownership: None Nullable: False
dbusErrorName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DbusErrorRegisterErrorDomain(NonNullableUtf8StringHandle, ref nuint, DBusErrorEntryArrayHandle, uint)
Calls native function g_dbus_error_register_error_domain. Version: 2.26
[Version("2.26")]
public static extern void DbusErrorRegisterErrorDomain(NonNullableUtf8StringHandle errorDomainQuarkName, ref nuint quarkVolatile, DBusErrorEntryArrayHandle entries, uint numEntries)
Parameters
errorDomainQuarkName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
quarkVolatile
nuintTransfer ownership: None Nullable: False
entries
DBusErrorEntryArrayHandleTransfer ownership: None Nullable: False
numEntries
uintTransfer ownership: None Nullable: False
DbusErrorStripRemoteError(ErrorHandle)
Calls native function g_dbus_error_strip_remote_error. Version: 2.26
[Version("2.26")]
public static extern bool DbusErrorStripRemoteError(ErrorHandle error)
Parameters
error
ErrorHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DbusErrorUnregisterError(Quark, int, NonNullableUtf8StringHandle)
Calls native function g_dbus_error_unregister_error. Version: 2.26
[Version("2.26")]
public static extern bool DbusErrorUnregisterError(Quark errorDomain, int errorCode, NonNullableUtf8StringHandle dbusErrorName)
Parameters
errorDomain
QuarkTransfer ownership: None Nullable: False
errorCode
intTransfer ownership: None Nullable: False
dbusErrorName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DbusEscapeObjectPath(NonNullableUtf8StringHandle)
Calls native function g_dbus_escape_object_path. Version: 2.68
[Version("2.68")]
public static extern NonNullableUtf8StringOwnedHandle DbusEscapeObjectPath(NonNullableUtf8StringHandle s)
Parameters
s
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusEscapeObjectPathBytestring(ref byte)
Calls native function g_dbus_escape_object_path_bytestring. Version: 2.68
[Version("2.68")]
public static extern NonNullableUtf8StringOwnedHandle DbusEscapeObjectPathBytestring(ref byte bytes)
Parameters
bytes
byteTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusGenerateGuid()
Calls native function g_dbus_generate_guid. Version: 2.26
[Version("2.26")]
public static extern NonNullableUtf8StringOwnedHandle DbusGenerateGuid()
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
DbusGvalueToGvariant(ValueHandle, VariantTypeHandle)
Calls native function g_dbus_gvalue_to_gvariant. Version: 2.30
[Version("2.30")]
public static extern VariantOwnedHandle DbusGvalueToGvariant(ValueHandle gvalue, VariantTypeHandle type)
Parameters
gvalue
ValueHandleTransfer ownership: None Nullable: False
type
VariantTypeHandleTransfer ownership: None Nullable: False
Returns
- VariantOwnedHandle
Transfer ownership: Full Nullable: False
DbusIsAddress(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_address. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsAddress(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsErrorName(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_error_name. Version: 2.70
[Version("2.70")]
public static extern bool DbusIsErrorName(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsGuid(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_guid. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsGuid(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsInterfaceName(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_interface_name. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsInterfaceName(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsMemberName(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_member_name. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsMemberName(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsName(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_name. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsName(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsSupportedAddress(NonNullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native function g_dbus_is_supported_address. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsSupportedAddress(NonNullableUtf8StringHandle @string, out ErrorOwnedHandle error)
Parameters
string
NonNullableUtf8StringHandleerror
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusIsUniqueName(NonNullableUtf8StringHandle)
Calls native function g_dbus_is_unique_name. Version: 2.26
[Version("2.26")]
public static extern bool DbusIsUniqueName(NonNullableUtf8StringHandle @string)
Parameters
string
NonNullableUtf8StringHandle
Returns
- bool
Transfer ownership: None Nullable: False
DbusUnescapeObjectPath(NonNullableUtf8StringHandle)
Calls native function g_dbus_unescape_object_path. Version: 2.68
[Version("2.68")]
public static extern byte[] DbusUnescapeObjectPath(NonNullableUtf8StringHandle s)
Parameters
s
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- byte[]
Transfer ownership: None Nullable: True
DtlsClientConnectionNew(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native function g_dtls_client_connection_new. Version: 2.48
[Version("2.48")]
public static extern IntPtr DtlsClientConnectionNew(IntPtr baseSocket, IntPtr serverIdentity, out ErrorOwnedHandle error)
Parameters
baseSocket
IntPtrTransfer ownership: None Nullable: False
serverIdentity
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
DtlsServerConnectionNew(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native function g_dtls_server_connection_new. Version: 2.48
[Version("2.48")]
public static extern IntPtr DtlsServerConnectionNew(IntPtr baseSocket, IntPtr certificate, out ErrorOwnedHandle error)
Parameters
baseSocket
IntPtrTransfer ownership: None Nullable: False
certificate
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewBuildFilenamev(PlatformStringArrayNullTerminatedHandle)
Calls native function g_file_new_build_filenamev. Version: 2.78
[Version("2.78")]
public static extern IntPtr FileNewBuildFilenamev(PlatformStringArrayNullTerminatedHandle args)
Parameters
args
PlatformStringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewForCommandlineArg(NonNullablePlatformStringHandle)
Calls native function g_file_new_for_commandline_arg.
public static extern IntPtr FileNewForCommandlineArg(NonNullablePlatformStringHandle arg)
Parameters
arg
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewForCommandlineArgAndCwd(NonNullablePlatformStringHandle, NonNullablePlatformStringHandle)
Calls native function g_file_new_for_commandline_arg_and_cwd. Version: 2.36
[Version("2.36")]
public static extern IntPtr FileNewForCommandlineArgAndCwd(NonNullablePlatformStringHandle arg, NonNullablePlatformStringHandle cwd)
Parameters
arg
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
cwd
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewForPath(NonNullablePlatformStringHandle)
Calls native function g_file_new_for_path.
public static extern IntPtr FileNewForPath(NonNullablePlatformStringHandle path)
Parameters
path
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewForUri(NonNullableUtf8StringHandle)
Calls native function g_file_new_for_uri.
public static extern IntPtr FileNewForUri(NonNullableUtf8StringHandle uri)
Parameters
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewTmp(NullablePlatformStringHandle, out IntPtr, out ErrorOwnedHandle)
Calls native function g_file_new_tmp. Version: 2.32
[Version("2.32")]
public static extern IntPtr FileNewTmp(NullablePlatformStringHandle tmpl, out IntPtr iostream, out ErrorOwnedHandle error)
Parameters
tmpl
NullablePlatformStringHandleTransfer ownership: None Nullable: True
iostream
IntPtrTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewTmpAsync(NullablePlatformStringHandle, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_file_new_tmp_async. Version: 2.74
[Version("2.74")]
public static extern void FileNewTmpAsync(NullablePlatformStringHandle tmpl, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
tmpl
NullablePlatformStringHandleTransfer ownership: None Nullable: True
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
FileNewTmpDirAsync(NullablePlatformStringHandle, int, IntPtr, AsyncReadyCallback, IntPtr)
Calls native function g_file_new_tmp_dir_async. Version: 2.74
[Version("2.74")]
public static extern void FileNewTmpDirAsync(NullablePlatformStringHandle tmpl, int ioPriority, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
tmpl
NullablePlatformStringHandleTransfer ownership: None Nullable: True
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
FileNewTmpDirFinish(IntPtr, out ErrorOwnedHandle)
Calls native function g_file_new_tmp_dir_finish. Version: 2.74
[Version("2.74")]
public static extern IntPtr FileNewTmpDirFinish(IntPtr result, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileNewTmpFinish(IntPtr, out IntPtr, out ErrorOwnedHandle)
Calls native function g_file_new_tmp_finish. Version: 2.74
[Version("2.74")]
public static extern IntPtr FileNewTmpFinish(IntPtr result, out IntPtr iostream, out ErrorOwnedHandle error)
Parameters
result
IntPtrTransfer ownership: None Nullable: False
iostream
IntPtrTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
FileParseName(NonNullableUtf8StringHandle)
Calls native function g_file_parse_name.
public static extern IntPtr FileParseName(NonNullableUtf8StringHandle parseName)
Parameters
parseName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
IconDeserialize(VariantHandle)
Calls native function g_icon_deserialize. Version: 2.38
[Version("2.38")]
public static extern IntPtr IconDeserialize(VariantHandle value)
Parameters
value
VariantHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
IconNewForString(NonNullableUtf8StringHandle, out ErrorOwnedHandle)
Calls native function g_icon_new_for_string. Version: 2.20
[Version("2.20")]
public static extern IntPtr IconNewForString(NonNullableUtf8StringHandle str, out ErrorOwnedHandle error)
Parameters
str
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
InitableNewv(Type, uint, ParameterArrayHandle, IntPtr, out ErrorOwnedHandle)
Calls native function g_initable_newv. Version: 2.22
[Version("2.22")]
public static extern IntPtr InitableNewv(Type objectType, uint nParameters, ParameterArrayHandle parameters, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
objectType
TypeTransfer ownership: None Nullable: False
nParameters
uintTransfer ownership: None Nullable: False
parameters
ParameterArrayHandleTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
IoErrorFromErrno(int)
Calls native function g_io_error_from_errno.
public static extern IOErrorEnum IoErrorFromErrno(int errNo)
Parameters
errNo
intTransfer ownership: None Nullable: False
Returns
- IOErrorEnum
Transfer ownership: None Nullable: False
IoErrorFromFileError(FileError)
Calls native function g_io_error_from_file_error. Version: 2.74
[Version("2.74")]
public static extern IOErrorEnum IoErrorFromFileError(FileError fileError)
Parameters
fileError
FileErrorTransfer ownership: None Nullable: False
Returns
- IOErrorEnum
Transfer ownership: None Nullable: False
IoErrorFromWin32Error(int)
Calls native function g_io_error_from_win32_error. Version: 2.26
[Version("2.26")]
public static extern IOErrorEnum IoErrorFromWin32Error(int errorCode)
Parameters
errorCode
intTransfer ownership: None Nullable: False
Returns
- IOErrorEnum
Transfer ownership: None Nullable: False
IoErrorQuark()
Calls native function g_io_error_quark.
public static extern uint IoErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
IoExtensionPointImplement(NonNullableUtf8StringHandle, Type, NonNullableUtf8StringHandle, int)
Calls native function g_io_extension_point_implement.
public static extern IOExtensionUnownedHandle IoExtensionPointImplement(NonNullableUtf8StringHandle extensionPointName, Type type, NonNullableUtf8StringHandle extensionName, int priority)
Parameters
extensionPointName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
TypeTransfer ownership: None Nullable: False
extensionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
priority
intTransfer ownership: None Nullable: False
Returns
- IOExtensionUnownedHandle
Transfer ownership: None Nullable: False
IoExtensionPointLookup(NonNullableUtf8StringHandle)
Calls native function g_io_extension_point_lookup.
public static extern IOExtensionPointUnownedHandle IoExtensionPointLookup(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IOExtensionPointUnownedHandle
Transfer ownership: None Nullable: False
IoExtensionPointRegister(NonNullableUtf8StringHandle)
Calls native function g_io_extension_point_register.
public static extern IOExtensionPointUnownedHandle IoExtensionPointRegister(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IOExtensionPointUnownedHandle
Transfer ownership: None Nullable: False
IoModulesLoadAllInDirectory(NonNullablePlatformStringHandle)
Calls native function g_io_modules_load_all_in_directory.
public static extern ListOwnedHandle IoModulesLoadAllInDirectory(NonNullablePlatformStringHandle dirname)
Parameters
dirname
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
IoModulesLoadAllInDirectoryWithScope(NonNullablePlatformStringHandle, IOModuleScopeHandle)
Calls native function g_io_modules_load_all_in_directory_with_scope. Version: 2.30
[Version("2.30")]
public static extern ListOwnedHandle IoModulesLoadAllInDirectoryWithScope(NonNullablePlatformStringHandle dirname, IOModuleScopeHandle scope)
Parameters
dirname
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
scope
IOModuleScopeHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
IoModulesScanAllInDirectory(NonNullablePlatformStringHandle)
Calls native function g_io_modules_scan_all_in_directory. Version: 2.24
[Version("2.24")]
public static extern void IoModulesScanAllInDirectory(NonNullablePlatformStringHandle dirname)
Parameters
dirname
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
IoModulesScanAllInDirectoryWithScope(NonNullablePlatformStringHandle, IOModuleScopeHandle)
Calls native function g_io_modules_scan_all_in_directory_with_scope. Version: 2.30
[Version("2.30")]
public static extern void IoModulesScanAllInDirectoryWithScope(NonNullablePlatformStringHandle dirname, IOModuleScopeHandle scope)
Parameters
dirname
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
scope
IOModuleScopeHandleTransfer ownership: None Nullable: False
IoSchedulerCancelAllJobs()
Calls native function g_io_scheduler_cancel_all_jobs.
public static extern void IoSchedulerCancelAllJobs()
IoSchedulerPushJob(IOSchedulerJobFunc, IntPtr, DestroyNotify, int, IntPtr)
Calls native function g_io_scheduler_push_job.
public static extern void IoSchedulerPushJob(IOSchedulerJobFunc jobFunc, IntPtr userData, DestroyNotify notify, int ioPriority, IntPtr cancellable)
Parameters
jobFunc
IOSchedulerJobFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
notify
DestroyNotifyTransfer ownership: None Nullable: True
ioPriority
intTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
KeyfileSettingsBackendNew(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native function g_keyfile_settings_backend_new.
public static extern IntPtr KeyfileSettingsBackendNew(NonNullableUtf8StringHandle filename, NonNullableUtf8StringHandle rootPath, NullableUtf8StringHandle rootGroup)
Parameters
filename
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
rootPath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
rootGroup
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
MemoryMonitorDupDefault()
Calls native function g_memory_monitor_dup_default. Version: 2.64
[Version("2.64")]
public static extern IntPtr MemoryMonitorDupDefault()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
MemorySettingsBackendNew()
Calls native function g_memory_settings_backend_new. Version: 2.28
[Version("2.28")]
public static extern IntPtr MemorySettingsBackendNew()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NetworkMonitorGetDefault()
Calls native function g_network_monitor_get_default. Version: 2.32
[Version("2.32")]
public static extern IntPtr NetworkMonitorGetDefault()
Returns
- IntPtr
Transfer ownership: None Nullable: False
NetworkingInit()
Calls native function g_networking_init. Version: 2.36
[Version("2.36")]
public static extern void NetworkingInit()
NullSettingsBackendNew()
Calls native function g_null_settings_backend_new. Version: 2.28
[Version("2.28")]
public static extern IntPtr NullSettingsBackendNew()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
PollableSourceNew(IntPtr)
Calls native function g_pollable_source_new. Version: 2.28
[Version("2.28")]
public static extern SourceOwnedHandle PollableSourceNew(IntPtr pollableStream)
Parameters
pollableStream
IntPtrTransfer ownership: None Nullable: False
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
PollableSourceNewFull(IntPtr, SourceHandle, IntPtr)
Calls native function g_pollable_source_new_full. Version: 2.34
[Version("2.34")]
public static extern SourceOwnedHandle PollableSourceNewFull(IntPtr pollableStream, SourceHandle childSource, IntPtr cancellable)
Parameters
pollableStream
IntPtrTransfer ownership: None Nullable: False
childSource
SourceHandleTransfer ownership: None Nullable: True
cancellable
IntPtrTransfer ownership: None Nullable: True
Returns
- SourceOwnedHandle
Transfer ownership: Full Nullable: False
PollableStreamRead(IntPtr, ref byte, nuint, bool, IntPtr, out ErrorOwnedHandle)
Calls native function g_pollable_stream_read. Version: 2.34
[Version("2.34")]
public static extern long PollableStreamRead(IntPtr stream, ref byte buffer, nuint count, bool blocking, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
buffer
byteTransfer ownership: None Nullable: False
count
nuintTransfer ownership: None Nullable: False
blocking
boolTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- long
Transfer ownership: None Nullable: False
PollableStreamWrite(IntPtr, ref byte, nuint, bool, IntPtr, out ErrorOwnedHandle)
Calls native function g_pollable_stream_write. Version: 2.34
[Version("2.34")]
public static extern long PollableStreamWrite(IntPtr stream, ref byte buffer, nuint count, bool blocking, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
buffer
byteTransfer ownership: None Nullable: False
count
nuintTransfer ownership: None Nullable: False
blocking
boolTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- long
Transfer ownership: None Nullable: False
PollableStreamWriteAll(IntPtr, ref byte, nuint, bool, out nuint, IntPtr, out ErrorOwnedHandle)
Calls native function g_pollable_stream_write_all. Version: 2.34
[Version("2.34")]
public static extern bool PollableStreamWriteAll(IntPtr stream, ref byte buffer, nuint count, bool blocking, out nuint bytesWritten, IntPtr cancellable, out ErrorOwnedHandle error)
Parameters
stream
IntPtrTransfer ownership: None Nullable: False
buffer
byteTransfer ownership: None Nullable: False
count
nuintTransfer ownership: None Nullable: False
blocking
boolTransfer ownership: None Nullable: False
bytesWritten
nuintTransfer ownership: Full Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
PowerProfileMonitorDupDefault()
Calls native function g_power_profile_monitor_dup_default. Version: 2.70
[Version("2.70")]
public static extern IntPtr PowerProfileMonitorDupDefault()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ProxyGetDefaultForProtocol(NonNullableUtf8StringHandle)
Calls native function g_proxy_get_default_for_protocol. Version: 2.26
[Version("2.26")]
public static extern IntPtr ProxyGetDefaultForProtocol(NonNullableUtf8StringHandle protocol)
Parameters
protocol
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
ProxyResolverGetDefault()
Calls native function g_proxy_resolver_get_default. Version: 2.26
[Version("2.26")]
public static extern IntPtr ProxyResolverGetDefault()
Returns
- IntPtr
Transfer ownership: None Nullable: False
ResolverErrorQuark()
Calls native function g_resolver_error_quark. Version: 2.22
[Version("2.22")]
public static extern uint ResolverErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ResourceErrorQuark()
Calls native function g_resource_error_quark. Version: 2.32
[Version("2.32")]
public static extern uint ResourceErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
ResourceLoad(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_resource_load. Version: 2.32
[Version("2.32")]
public static extern ResourceOwnedHandle ResourceLoad(NonNullablePlatformStringHandle filename, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- ResourceOwnedHandle
Transfer ownership: Full Nullable: False
ResourcesEnumerateChildren(NonNullableUtf8StringHandle, ResourceLookupFlags, out ErrorOwnedHandle)
Calls native function g_resources_enumerate_children. Version: 2.32
[Version("2.32")]
public static extern Utf8StringArrayNullTerminatedOwnedHandle ResourcesEnumerateChildren(NonNullableUtf8StringHandle path, ResourceLookupFlags lookupFlags, out ErrorOwnedHandle error)
Parameters
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
lookupFlags
ResourceLookupFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
ResourcesGetInfo(NonNullableUtf8StringHandle, ResourceLookupFlags, out nuint, out uint, out ErrorOwnedHandle)
Calls native function g_resources_get_info. Version: 2.32
[Version("2.32")]
public static extern bool ResourcesGetInfo(NonNullableUtf8StringHandle path, ResourceLookupFlags lookupFlags, out nuint size, out uint flags, out ErrorOwnedHandle error)
Parameters
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
lookupFlags
ResourceLookupFlagsTransfer ownership: None Nullable: False
size
nuintTransfer ownership: Full Nullable: False
flags
uintTransfer ownership: Full Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
ResourcesLookupData(NonNullableUtf8StringHandle, ResourceLookupFlags, out ErrorOwnedHandle)
Calls native function g_resources_lookup_data. Version: 2.32
[Version("2.32")]
public static extern BytesOwnedHandle ResourcesLookupData(NonNullableUtf8StringHandle path, ResourceLookupFlags lookupFlags, out ErrorOwnedHandle error)
Parameters
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
lookupFlags
ResourceLookupFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- BytesOwnedHandle
Transfer ownership: Full Nullable: False
ResourcesOpenStream(NonNullableUtf8StringHandle, ResourceLookupFlags, out ErrorOwnedHandle)
Calls native function g_resources_open_stream. Version: 2.32
[Version("2.32")]
public static extern IntPtr ResourcesOpenStream(NonNullableUtf8StringHandle path, ResourceLookupFlags lookupFlags, out ErrorOwnedHandle error)
Parameters
path
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
lookupFlags
ResourceLookupFlagsTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
ResourcesRegister(ResourceHandle)
Calls native function g_resources_register. Version: 2.32
[Version("2.32")]
public static extern void ResourcesRegister(ResourceHandle resource)
Parameters
resource
ResourceHandleTransfer ownership: None Nullable: False
ResourcesUnregister(ResourceHandle)
Calls native function g_resources_unregister. Version: 2.32
[Version("2.32")]
public static extern void ResourcesUnregister(ResourceHandle resource)
Parameters
resource
ResourceHandleTransfer ownership: None Nullable: False
SettingsSchemaSourceGetDefault()
Calls native function g_settings_schema_source_get_default. Version: 2.32
[Version("2.32")]
public static extern SettingsSchemaSourceUnownedHandle SettingsSchemaSourceGetDefault()
Returns
- SettingsSchemaSourceUnownedHandle
Transfer ownership: None Nullable: True
SimpleAsyncReportGerrorInIdle(IntPtr, AsyncReadyCallback, IntPtr, ErrorHandle)
Calls native function g_simple_async_report_gerror_in_idle.
public static extern void SimpleAsyncReportGerrorInIdle(IntPtr @object, AsyncReadyCallback callback, IntPtr userData, ErrorHandle error)
Parameters
object
IntPtrcallback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
error
ErrorHandleTransfer ownership: None Nullable: False
SimpleAsyncReportTakeGerrorInIdle(IntPtr, AsyncReadyCallback, IntPtr, ErrorHandle)
Calls native function g_simple_async_report_take_gerror_in_idle. Version: 2.28
[Version("2.28")]
public static extern void SimpleAsyncReportTakeGerrorInIdle(IntPtr @object, AsyncReadyCallback callback, IntPtr userData, ErrorHandle error)
Parameters
object
IntPtrcallback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
error
ErrorHandleTransfer ownership: None Nullable: False
SrvTargetListSort(ListHandle)
Calls native function g_srv_target_list_sort. Version: 2.22
[Version("2.22")]
public static extern ListOwnedHandle SrvTargetListSort(ListHandle targets)
Parameters
targets
ListHandleTransfer ownership: None Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
TlsBackendGetDefault()
Calls native function g_tls_backend_get_default. Version: 2.28
[Version("2.28")]
public static extern IntPtr TlsBackendGetDefault()
Returns
- IntPtr
Transfer ownership: None Nullable: False
TlsChannelBindingErrorQuark()
Calls native function g_tls_channel_binding_error_quark. Version: 2.66
[Version("2.66")]
public static extern uint TlsChannelBindingErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
TlsClientConnectionNew(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native function g_tls_client_connection_new. Version: 2.28
[Version("2.28")]
public static extern IntPtr TlsClientConnectionNew(IntPtr baseIoStream, IntPtr serverIdentity, out ErrorOwnedHandle error)
Parameters
baseIoStream
IntPtrTransfer ownership: None Nullable: False
serverIdentity
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
TlsErrorQuark()
Calls native function g_tls_error_quark. Version: 2.28
[Version("2.28")]
public static extern uint TlsErrorQuark()
Returns
- uint
Transfer ownership: None Nullable: False
TlsFileDatabaseNew(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function g_tls_file_database_new. Version: 2.30
[Version("2.30")]
public static extern IntPtr TlsFileDatabaseNew(NonNullablePlatformStringHandle anchors, out ErrorOwnedHandle error)
Parameters
anchors
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
TlsServerConnectionNew(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native function g_tls_server_connection_new. Version: 2.28
[Version("2.28")]
public static extern IntPtr TlsServerConnectionNew(IntPtr baseIoStream, IntPtr certificate, out ErrorOwnedHandle error)
Parameters
baseIoStream
IntPtrTransfer ownership: None Nullable: False
certificate
IntPtrTransfer ownership: None Nullable: True
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
UnixIsMountPathSystemInternal(NonNullablePlatformStringHandle)
Calls native function g_unix_is_mount_path_system_internal.
public static extern bool UnixIsMountPathSystemInternal(NonNullablePlatformStringHandle mountPath)
Parameters
mountPath
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixIsSystemDevicePath(NonNullableUtf8StringHandle)
Calls native function g_unix_is_system_device_path. Version: 2.56
[Version("2.56")]
public static extern bool UnixIsSystemDevicePath(NonNullableUtf8StringHandle devicePath)
Parameters
devicePath
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixIsSystemFsType(NonNullableUtf8StringHandle)
Calls native function g_unix_is_system_fs_type. Version: 2.56
[Version("2.56")]
public static extern bool UnixIsSystemFsType(NonNullableUtf8StringHandle fsType)
Parameters
fsType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountAt(NonNullablePlatformStringHandle, out ulong)
Calls native function g_unix_mount_at.
public static extern UnixMountEntryOwnedHandle UnixMountAt(NonNullablePlatformStringHandle mountPath, out ulong timeRead)
Parameters
mountPath
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
timeRead
ulongTransfer ownership: Full Nullable: False
Returns
- UnixMountEntryOwnedHandle
Transfer ownership: Full Nullable: True
UnixMountCompare(UnixMountEntryHandle, UnixMountEntryHandle)
Calls native function g_unix_mount_compare.
public static extern int UnixMountCompare(UnixMountEntryHandle mount1, UnixMountEntryHandle mount2)
Parameters
mount1
UnixMountEntryHandleTransfer ownership: None Nullable: False
mount2
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
UnixMountCopy(UnixMountEntryHandle)
Calls native function g_unix_mount_copy. Version: 2.54
[Version("2.54")]
public static extern UnixMountEntryOwnedHandle UnixMountCopy(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- UnixMountEntryOwnedHandle
Transfer ownership: Full Nullable: False
UnixMountFor(NonNullablePlatformStringHandle, out ulong)
Calls native function g_unix_mount_for. Version: 2.52
[Version("2.52")]
public static extern UnixMountEntryOwnedHandle UnixMountFor(NonNullablePlatformStringHandle filePath, out ulong timeRead)
Parameters
filePath
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
timeRead
ulongTransfer ownership: Full Nullable: False
Returns
- UnixMountEntryOwnedHandle
Transfer ownership: Full Nullable: True
UnixMountFree(UnixMountEntryHandle)
Calls native function g_unix_mount_free.
public static extern void UnixMountFree(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
UnixMountGetDevicePath(UnixMountEntryHandle)
Calls native function g_unix_mount_get_device_path.
public static extern NonNullablePlatformStringUnownedHandle UnixMountGetDevicePath(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
UnixMountGetFsType(UnixMountEntryHandle)
Calls native function g_unix_mount_get_fs_type.
public static extern NonNullableUtf8StringUnownedHandle UnixMountGetFsType(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
UnixMountGetMountPath(UnixMountEntryHandle)
Calls native function g_unix_mount_get_mount_path.
public static extern NonNullablePlatformStringUnownedHandle UnixMountGetMountPath(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NonNullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: False
UnixMountGetOptions(UnixMountEntryHandle)
Calls native function g_unix_mount_get_options. Version: 2.58
[Version("2.58")]
public static extern NullableUtf8StringUnownedHandle UnixMountGetOptions(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
UnixMountGetRootPath(UnixMountEntryHandle)
Calls native function g_unix_mount_get_root_path. Version: 2.60
[Version("2.60")]
public static extern NullableUtf8StringUnownedHandle UnixMountGetRootPath(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
UnixMountGuessCanEject(UnixMountEntryHandle)
Calls native function g_unix_mount_guess_can_eject.
public static extern bool UnixMountGuessCanEject(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountGuessIcon(UnixMountEntryHandle)
Calls native function g_unix_mount_guess_icon.
public static extern IntPtr UnixMountGuessIcon(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
UnixMountGuessName(UnixMountEntryHandle)
Calls native function g_unix_mount_guess_name.
public static extern NonNullableUtf8StringOwnedHandle UnixMountGuessName(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
UnixMountGuessShouldDisplay(UnixMountEntryHandle)
Calls native function g_unix_mount_guess_should_display.
public static extern bool UnixMountGuessShouldDisplay(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountGuessSymbolicIcon(UnixMountEntryHandle)
Calls native function g_unix_mount_guess_symbolic_icon. Version: 2.34
[Version("2.34")]
public static extern IntPtr UnixMountGuessSymbolicIcon(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
UnixMountIsReadonly(UnixMountEntryHandle)
Calls native function g_unix_mount_is_readonly.
public static extern bool UnixMountIsReadonly(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountIsSystemInternal(UnixMountEntryHandle)
Calls native function g_unix_mount_is_system_internal.
public static extern bool UnixMountIsSystemInternal(UnixMountEntryHandle mountEntry)
Parameters
mountEntry
UnixMountEntryHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountPointAt(NonNullablePlatformStringHandle, out ulong)
Calls native function g_unix_mount_point_at. Version: 2.66
[Version("2.66")]
public static extern UnixMountPointOwnedHandle UnixMountPointAt(NonNullablePlatformStringHandle mountPath, out ulong timeRead)
Parameters
mountPath
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
timeRead
ulongTransfer ownership: Full Nullable: False
Returns
- UnixMountPointOwnedHandle
Transfer ownership: Full Nullable: True
UnixMountPointsChangedSince(ulong)
Calls native function g_unix_mount_points_changed_since.
public static extern bool UnixMountPointsChangedSince(ulong time)
Parameters
time
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountPointsGet(out ulong)
Calls native function g_unix_mount_points_get.
public static extern ListOwnedHandle UnixMountPointsGet(out ulong timeRead)
Parameters
timeRead
ulongTransfer ownership: Full Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False
UnixMountsChangedSince(ulong)
Calls native function g_unix_mounts_changed_since.
public static extern bool UnixMountsChangedSince(ulong time)
Parameters
time
ulongTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
UnixMountsGet(out ulong)
Calls native function g_unix_mounts_get.
public static extern ListOwnedHandle UnixMountsGet(out ulong timeRead)
Parameters
timeRead
ulongTransfer ownership: Full Nullable: False
Returns
- ListOwnedHandle
Transfer ownership: Full Nullable: False