Direct Access Transport Library Functions
datgethandletype(3DAT)
NAME
datgethandletype - get handle type
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include
DATRETURN
datgethandletypet (
IN DATHANDLE dathandle,
OUT DATHANDLETYPE *handletype
)
PARAMETERS
dathandle Handle for a DAT Object.
handletype Type of the handle of dathandle.
DESCRIPTION
The datgethandletype() function allows the Consumer to
discover the type of a DAT Object using its handle.
The dathandle can be one of the following handle types:
DATIAHANDLE, DATEPHANDLE, DATEVDHANDLE, DATCRHANDLE,
DATRSPHANDLE, DATPSPHANDLE, DATPZHANDLE,
DATLMRHANDLE, or DATRMRHANDLE.
The handletype is one of the following handle types:
DATHANDLETYPEIA, DATHANDLETYPEP, DATHANDLETYPEVD,
DATHANDLETYPECR, DATHANDLETYPEPSP,
DATHANDLETYPERSP, DATHANDLETYPEPZ,
DATHANDLETYPELMR, DATHANDLETYPERMR, or
DATHANDLETYPECNO.
RETURN VALUES
DATSUCES The operation was successful.
DATINVALIDHANDLE The dathandle parameter is invalid.
USAGE
Consumers can use this operation to determine the type of
Object being returned. This is needed for calling an
appropriate query or any other operation on the Object han-
dle.
SunOS 5.11 Last change: 16 Jul 2004 1
Direct Access Transport Library Functions
datgethandletype(3DAT)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard: uDAPL, 1.1, 1.2
MT-Level Unsafe
SEE ALSO
libdat(3LIB), attributes(5)
SunOS 5.11 Last change: 16 Jul 2004 2
Direct Access Transport Library Functions
datgethandletype(3DAT)
SunOS 5.11 Last change: 16 Jul 2004 3
|