Example - LayoutDestroyObject

This example creates and then destroys a layout object.

#include <layout.h>
LAYOUT_OBJECT plh;
ULONG RC;

  RC= LayoutCreateObject (Locale_Arabic,&plh);     /* or: Locale_Hebrew */
  if (RC) { printf("Create Error! !!\n"); exit(0);}

  RC = LayoutDestroyObject(plh);
  if (RC) { printf(" DESTROY Error!!!\n"); exit(0);}


[Back: Notes - LayoutDestroyObject]
[Next: Related Functions - LayoutDestroyObject]