Lines Matching refs:handle

276     \param handle  Handle
281 unsigned int *handle,
287 if(handle){
288 printf("handle: %d \n",*handle);
1198 \param eht EMF handle table (peak handle number needed)
1355 \brief Create a handle table. Entries filled with 0 are empty, entries >0 hold a handle.
1359 \param eht EMF handle table
1398 \brief Delete an entry from the handle table. Move it back onto the stack. The specified slot is filled with a 0.
1400 \param ih handle
1401 \param eht EMF handle table
1411 if(*ih < 1)return(4); // invalid handle
1413 eht->table[*ih]=0; // remove handle from table
1418 eht->stack[eht->sptr]=*ih; // place handle on stack
1419 *ih=0; // invalidate handle variable, so a second delete will of it is not possible
1425 Call realloc() if needed. The slot is set to handle (indicates occupied) and the peak value is adjusted.
1427 \param ih handle
1428 \param eht EMF handle table
1452 *ih = eht->stack[eht->sptr]; // handle that is inserted
1454 eht->table[*ih] = *ih; // handle goes into preexisting (but zero) slot in table
1458 eht->sptr++; // next available handle
1465 \param eht EMF handle table
2468 \param ihObject Pointer to handle to delete. This value is set to 0 if the function succeeds.
2469 \param eht EMF handle table
2483 if(emf_htable_delete(ihObject,eht))return(NULL); // invalid handle or other problem, cannot be deleted
2488 \brief Allocate and construct a U_EMRSELECTOBJECT structure, checks that the handle specified is one that can actually be selected.
2491 \param ihObject handle to select
2492 \param eht EMF handle table
2499 if(ihObject > eht->top)return(NULL); // handle this high is not in the table
2500 if(!eht->table[ihObject])return(NULL); // handle is not in the table, so not active, so cannot be selected
2506 \brief Allocate and construct a U_EMREXTCREATEPEN structure, create a handle and return it.
2509 \param ihPen handle to be used by new object
2510 \param eht EMF handle table
2529 \brief Allocate and construct a U_EMRCREATEPEN structure, create a handle and returns it
2532 \param ihPen handle to be used by new object
2533 \param eht EMF handle table
2546 \brief Allocate and construct a U_EMRCREATEBRUSHINDIRECT structure, create a handle and returns it
2549 \param ihBrush handle to be used by new object
2550 \param eht EMF handle table
2563 \brief Allocate and construct a U_EMRCREATEDIBPATTERNBRUSHPT_set structure, create a handle and returns it
2566 \param ihBrush handle to be used by new object
2567 \param eht EMF handle table
2587 \brief Allocate and construct a U_EMRCREATEMONOBRUSH_set structure, create a handle and returns it
2590 \param ihBrush handle to be used by new object
2591 \param eht EMF handle table
2612 \brief Allocate and construct a U_EMRCREATECOLORSPACE structure, create a handle and returns it
2615 \param ihCS ColorSpace handle, will be created and returned
2629 \brief Allocate and construct a U_EMRCREATECOLORSPACEW structure, create a handle and returns it
2632 \param ihCS ColorSpace handle, will be created and returned
2652 \brief Allocate and construct a U_EMREXTCREATEFONTINDIRECTW structure, create a handle and returns it
2655 \param ihFont Font handle, will be created and returned
2671 \brief Allocate and construct a U_EMRCREATEPALETTE structure, create a handle and returns it
2674 \param ihPal Palette handle, will be created and returned
2688 \brief Allocate and construct a U_EMRSETPALETTEENTRIES structure, create a handle and returns it
2691 \param ihPal Palette handle, will be created and returned
2709 \brief Allocate and construct a U_EMRFILLRGN structure, create a handle and returns it
2712 \param ihBrush Brush handle, will be created and returned
2728 \brief Allocate and construct a U_EMRFRAMERGN structure, create a handle and returns it
2731 \param ihBrush Brush handle, will be created and returned