status.i4.v = dio_memory_pool_query(pool_name.i1a.r, pool_id.i4.r)

	This routine retrieves the current memory pool name which
	was selected by the last call to dio_memory_select_pool_c.
	A value of NULL can be passed for any parameter that is not

	pool_name	returned current memory pool name
			(The default "pool_name" (the one used if
			 dio_memory_select_pool_c is never called) is
			 "default" which is populated from the data pool.)
	pool_id		returned current memory pool ID

	This function returns ACNET status values as follows:

	OK			success
	DIO_MEMFAIL		memory allocation error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_memory_select_pool_c, dio_memory_set_populate_c,
	dio_memory_get_raw_c, dio_memory_get_c, dio_memory_get_array_c,
	dio_memory_read_raw_c, dio_memory_read_c, dio_memory_set_raw_c,
	dio_memory_set_c, dio_memory_set_array_c, dio_memory_write_c,
	dio_memory_control_c, dio_memory_cancel_c, dio_memory_populate_c,
	dio_memory_populate_query, dio_memory_pool_name_to_id_c

	C/C++ usage:

	char	pool_name[33];
	int	status;
	int	pool_id;

	status = dio_memory_pool_query(pool_name,&pool_id);