Пример #1
0
guint32
mono_icall_drive_info_get_drive_type (MonoString *root_path_name)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetDriveType");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "GetDriveType");
	mono_error_set_pending_exception (&mono_error);

	return DRIVE_UNKNOWN;
}
Пример #2
0
gint32
mono_icall_wait_for_input_idle (gpointer handle, gint32 milliseconds)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("WaitForInputIdle");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "WaitForInputIdle");
	mono_error_set_pending_exception (&mono_error);

	return WAIT_TIMEOUT;
}
Пример #3
0
MonoBoolean
mono_icall_get_process_working_set_size (gpointer handle, gsize *min, gsize *max)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetProcessWorkingSetSize");

	mono_error_set_not_supported(&mono_error, G_UNSUPPORTED_API, "GetProcessWorkingSetSize");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}
Пример #4
0
MonoArray *
mono_icall_get_logical_drives (void)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetLogicalDriveStrings");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "GetLogicalDriveStrings");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return NULL;
}
Пример #5
0
void
mono_icall_broadcast_setting_change (void)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("SendMessageTimeout");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "SendMessageTimeout");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return;
}
gint32
mono_security_win_get_token_name (gpointer token, gunichar2 ** uniname)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetTokenInformation");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "GetTokenInformation");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return 0;
}
Пример #7
0
MonoBoolean
mono_icall_set_priority_class (gpointer handle, gint32 priorityClass)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("SetPriorityClass");

	mono_error_set_not_supported(&mono_error, G_UNSUPPORTED_API, "SetPriorityClass");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}
gboolean
ves_icall_System_Security_Principal_WindowsImpersonationContext_SetCurrentToken (gpointer token)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("ImpersonateLoggedOnUser");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "ImpersonateLoggedOnUser");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}
gboolean
ves_icall_System_Security_Principal_WindowsImpersonationContext_RevertToSelf (void)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("RevertToSelf");

	mono_error_set_not_supported(&mono_error, G_UNSUPPORTED_API, "RevertToSelf");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}
gpointer
ves_icall_System_Security_Principal_WindowsImpersonationContext_DuplicateToken (gpointer token)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("DuplicateToken");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "DuplicateToken");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return NULL;
}
MonoArray*
ves_icall_System_Security_Principal_WindowsIdentity_GetRoles (gpointer token)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetTokenInformation");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "GetTokenInformation");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return NULL;
}
gboolean
mono_security_win_protect_user (gunichar2 *path)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("BuildTrusteeWithSid, SetEntriesInAcl, SetNamedSecurityInfo, LocalFree");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "BuildTrusteeWithSid, SetEntriesInAcl, SetNamedSecurityInfo, LocalFree");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}
gpointer
ves_icall_System_Security_Principal_WindowsIdentity_GetCurrentToken (void)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("OpenThreadToken, OpenProcessToken");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "OpenThreadToken, OpenProcessToken");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return NULL;
}
gboolean
mono_security_win_is_user_protected (gunichar2 *path)
{
	MonoError mono_error;
	mono_error_init (&mono_error);

	g_unsupported_api ("GetNamedSecurityInfo, LocalFree");

	mono_error_set_not_supported (&mono_error, G_UNSUPPORTED_API, "GetNamedSecurityInfo, LocalFree");
	mono_error_set_pending_exception (&mono_error);

	SetLastError (ERROR_NOT_SUPPORTED);

	return FALSE;
}