class axl::sys::win::JobObject

#include <axl_sys_win_JobObject.h>

class JobObject: public axl::sl::Handle
{
public:
    // methods

    bool
    create();

    bool
    create(
        SECURITY_ATTRIBUTES* secAttr,
        const sl::StringRef_w& name
        );

    bool
    open(
        uint_t access,
        bool doInheritHandle,
        const sl::StringRef_w& name
        );

    bool
    assignProcess(HANDLE process);

    bool
    setInformation(
        JOBOBJECTINFOCLASS infoClass,
        const void* p,
        size_t size
        );

    size_t
    queryInformation(
        JOBOBJECTINFOCLASS infoClass,
        void* p,
        size_t size
        );
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();