|
#define | PWP_BADID (~((PWP_UINT32)0)) |
| Bad id value. More...
|
|
#define | PWP_BADTYPE ((unsigned char)~0) |
| Bad type value. More...
|
|
#define | PWP_DECLARE_HANDLE(name) |
| Declares a root-level, strongly-typed data handle type. More...
|
|
#define | PWP_DECLARE_HEGRPITEM(sname, name) |
| Declares a sub-element group data handle type. More...
|
|
#define | PWP_DECLARE_HELEMGROUP(pname, name) |
| Declares a parented, strongly-typed, element group data handle type. More...
|
|
#define | PWP_HANDLE_GET_IMPL(h, hTyp) reinterpret_cast<hTyp##_IMPL*>(h) |
| get an implementation ptr from internal handle values More...
|
|
#define | PWP_HANDLE_INIT 0 |
| Static init value for a PWP_DECLARE_HANDLE() handle. More...
|
|
#define | PWP_HANDLE_ISVALID(h) (0 != h) |
| Test the validity of a PWP_DECLARE_HANDLE() handle. More...
|
|
#define | PWP_HANDLE_SET(h, v) h=v |
| Runtime set of a PWP_DECLARE_HANDLE() handle. More...
|
|
#define | PWP_HANDLE_SET_IMPL(h, hTyp, impl) (h=reinterpret_cast<hTyp>(&impl)) |
| assigns internal handle values using an implementation More...
|
|
#define | PWP_HEGI_H(h) ((h).parent.hP) |
| Extract the parent PWP_DECLARE_HELEMGROUP() handle. More...
|
|
#define | PWP_HEGI_ID(h) ((h).id) |
| Extract the item id from a PWP_DECLARE_HEGRPITEM() handle. More...
|
|
#define | PWP_HEGI_INIT {{0, PWP_BADID}, PWP_BADTYPE, PWP_BADID} |
| Static init value for a PWP_DECLARE_HEGRPITEM() handle. More...
|
|
#define | PWP_HEGI_ISVALID(h) |
| Test the validity of a PWP_DECLARE_HEGRPITEM() handle. More...
|
|
#define | PWP_HEGI_PID(h) ((h).parent.id) |
| Extract the parent PWP_DECLARE_HELEMGROUP() id. More...
|
|
#define | PWP_HEGI_PTYPE(h) ((h).ptype) |
| Extract the parent-type id from a PWP_DECLARE_HEGRPITEM() handle. More...
|
|
#define | PWP_HEGI_SET(h, p, pt, pid, v) |
| Runtime set of a PWP_DECLARE_HEGRPITEM() handle. More...
|
|
#define | PWP_HEGRP_H(h) ((h).hP) |
| Extract the parent handle from a PWP_DECLARE_HELEMGROUP() handle. More...
|
|
#define | PWP_HEGRP_ID(h) ((h).id) |
| Extract the id from a PWP_DECLARE_HELEMGROUP() handle. More...
|
|
#define | PWP_HEGRP_INIT {0,PWP_BADID} |
| Static init value for a PWP_DECLARE_HELEMGROUP() handle. More...
|
|
#define | PWP_HEGRP_ISVALID(h) |
| Test the validity of a PWP_DECLARE_HELEMGROUP() handle. More...
|
|
#define | PWP_HEGRP_SET(h, p, v) { (h).hP=(p); (h).id=(v); } |
| Runtime set of a PWP_DECLARE_HELEMGROUP() handle. More...
|
|
Base data handle helper macros. The are used to implement opaque, API-specific, data handles. See PWGM_HGRIDMODEL for an example.