![]() |
![]() |
|
|
Fmkfldid, Fmkfldid32(3fml)
Name
Fmkfldid(), Fmkfldid32() - make a field identifier
#include <stdio.h>
#include "fml.h"
FLDID
Fmkfldid(int type, FLDID num)
#include "fml.h"
FLDID32
Fmkfldid32(int type, FLDID32 num)
Description
Fmkfldid() allows the creation of a valid field identifier from a valid type (as defined in fml.h) and a field number. This is useful for writing an application generator that chooses field numbers sequentially, or for recreating a field identifier.
type is a valid type (an integer; see Fldtype, Fldtype32(3fml)). num is a field number (it should be an unused field number to avoid confusion with existing fields).
Fmkfldid32() is used with 32-bit FML.
A thread in a multithreaded application may issue a call to Fmkfldid() or Fmkfldid32() while running in any context state, including TPINVALIDCONTEXT.
Return Values
This function returns BADFLDID on error and sets Ferror to indicate the error condition.
Errors
Under the following conditions, Fmkfldid() fails and sets Ferror to:
A field number is specified which is not valid.
A field type is specified which is not valid (as defined in fml.h).
See Also
Introduction to FML Functions, Fldtype, Fldtype32(3fml)
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|