You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
893 B
54 lines
893 B
class FAR CNWCOMPATJobCollectionEnum : public CNWCOMPATEnumVariant
|
|
{
|
|
public:
|
|
CNWCOMPATJobCollectionEnum();
|
|
~CNWCOMPATJobCollectionEnum();
|
|
|
|
static
|
|
HRESULT
|
|
CNWCOMPATJobCollectionEnum::Create(
|
|
CNWCOMPATJobCollectionEnum FAR* FAR* ppEnumVariant,
|
|
BSTR PrinterName
|
|
);
|
|
|
|
private:
|
|
BSTR _PrinterName;
|
|
|
|
HANDLE _hPrinter;
|
|
LPBYTE _pBuffer;
|
|
DWORD _dwReturned;
|
|
DWORD _dwCurrentObject;
|
|
|
|
HRESULT
|
|
CNWCOMPATJobCollectionEnum::GetJobObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CNWCOMPATJobCollectionEnum::EnumJobMembers(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
STDMETHOD(Next)(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|