MIL_ID SystemId, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *ModResultIdPtr | //out |
This function allocates a result buffer, on the specified system, to store results obtained from an MmodFind() operation. When the result buffer is no longer required, release its memory, using MmodFree().
Specifies the system on which to allocate the result buffer.
This parameter should be set to one of the following values:
For specifying the system identifier
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the type of result buffer to allocate. This parameter should be set to one of the following values:
For specifying the type of Model Finder result
buffer
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the Model Finder result buffer can hold results from a search with an M_GEOMETRIC or M_GEOMETRIC_CONTROLLED type of context. |
||||||||||||||||||||||||||||||||||||||
M_SHAPE_CIRCLE |
Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_CIRCLE type of context. |
||||||||||||||||||||||||||||||||||||||
M_SHAPE_ELLIPSE |
Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_ELLIPSE type of context. |
||||||||||||||||||||||||||||||||||||||
M_SHAPE_RECTANGLE |
Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_RECTANGLE type of context. |
||||||||||||||||||||||||||||||||||||||
M_SHAPE_SEGMENT |
Specifies that the Model Finder result buffer can hold results from a search with an M_SHAPE_SEGMENT type of context. |
Header | Include mil.h. |
Library | Use mil.lib; milmod.lib. |
DLL | Requires mil.dll; milmod.dll. |