Common Pointer Behavior and Rules

NULL pointers and handles are documented for each function where they are acceptable. If NULL is passed to a function where it is not acceptable, the function returns an E_INVALIDARG error value. Invalid handles or non-NULL pointers that point to invalid memory cause undefined behavior.