???? ID: 160129 - ????? ???????: 02 ?????? 2010 - ??????: 3.0 ??? ??????? ?? ?????? ????? ?? ?????? ??????? ???? ?? ??? ???? ????
?? ????? ??????????????? ?? ?????? ??????? ?? ?????? despool ?? ??? ?????? ????? ?? ????? ?????? Win32 ?????? ?? ??? ???? ???? ??? ?? ???, ?? ?? ??????? despooling ???? ?? ?? ??? ?? ?????? ??????? ??????? ???? ??, ??????? ?? ????????? ????? ???? ?? ??? ???? ??? ???? ??????????????? Win32 API ??????, ?? ??? ??? ?? "???????" ??????? ???????, ?????? ??????, ?? ?????/?????? ?? ?? ????? ??????? ?? ??? comprised ???
???????? ?????? ?? ?????? ??????? ?? ?? ?? ?? ?????? "???????," ??? ??????? ?? ??? ??? ?? ???? ?? ??? ??? ??? ???????? ?????? ???? ??? ??? ?????? ????? merely ?????? ?? ??? ??? ???? ????? ??????? treats ??? ???? ??????? ?? ???????? ??? ??? ??? ??? ???? ?????? ?????? ??? ?? ?????? ??????? ?? Windows 95-???? ?????????? ???????? ??? ??????? ?????? ?????? ???????? ?? ???? ??? ??????? ??????? ?? ??????? DC ?? ?????? ?? ?????? ????? ????? ?? ??? ????????? ?????? ????? ???? ???? ?? ?? ??????? ?? ??? ??????? ??? ??? ??????? ?? ??? ?? i/O ????? ?????? ?? ??? culminating ?????? ??? ?? ?? ???? ?? ????? ??? ???? ??? ????? ?????? ?????? ??????? ?? ???? ?????? ?? ??? ??? ????? ??????? ?? ??? ??????? ?? ?? ???? ?? ??? ?????? ????? ???? ?? ??? ????? ??????? ??????? whatever ????? ?? ?? ??????????? ?? ??? ?? ?? ??? ????????? ??? ????-???? ???????, ?? ????? ??? ????? ?????? ???? ?? ??? ?? ????? ??????? ?? ???? ??????????? ???? ?? ??? ????????? ???? ????? ?? ??????? ?? ????? ??????? ??, ???? ????????? ???? ???? ?? ?? ????????? ?? ??????? ???? ?? ??? ????? ?????? ?? ????? ??? ?????? ?? ???? ??????? ?? ?????? ???? ???? ????? ??????? ?? ?????? ?? ??? ?????? ???? ??? ????????? ???? ?? ???? ????, ????? ??????? ?? ?????? ?? ????? ?? ?????? ????? ?? ??? ????? ?????? ?? despooled ??? ?? ????????? ??? ??? ?????? ???? ??, ??? ?????? ????? ?????? ?????? ??????? ?? ?? ?? ??? ?????? ????? ?? ?????? ?? ??????? ??? ??????? ???? ??? ??? ?????? propagates ???? ???, ??????? ???? ?? ??? ???? ?????? ??????? ??? ????????, ???? ?????? ??????? ??????? ???? ?????? ?? ??????? ???? ???? ??? ?? ?????? ???, ??????? ?????? ????? ?? ??????? ???? ?? ??? ????? assumed ??? ?? ??? ????? assumption ??? ?? ??? ?? ????? ??????? ??? ??? ?????? ?? ????? ???? off-line. ???????? ?????? considers ??????? ????, ??? ???? ?? ????? ??????? ?? ??? ??????? ???? ???? ?? ???? ?????? ????? ?? ??????? ???? ?? ??? ????? ??? ??? ??? circumstance ?????????? ?????? ??????? ???? ???? ?? ???????? ?????? ??? ???? ?????? ?????? ???? ???? ??? ?? ?? ???? ???? ?????? reportable ???? ?? ??? ????????? spooling ?? ?????? ????? ??????????? ????? ???? ?? ??? ?????? ?? ?? ??? ???? ????? ??????? ?? ?????? ?????????? ?????? premise ???? ???? ????? ??????? ?? ?????? ?? ??? ????? ?? ??? ??? ???? ?????? ??: ????? ??????? ?? ??? ??? ?????? ????? ?? ????? ?? ??? ?????? ?? ?????? ???? ????? This is the only time the state of the printer is reported by the port monitor. In addition, the most meaningful information may be reported in the status members of aJOB_INFOstructure for that particular print job because some port monitor will have set these values directly.TheJOB_INFOstructures contain a??????member and apStatusmember. Both members contain status information of a print job reported by the port monitor. These two members differ in that the??????member is a bit field of states that contains predetermined values, while thepStatusmember is a pointer to a string that could contain just about anything. These values are documented by the Win32 SDK and the WinSpool.h header file. ThepStatusmember is sometimes, but not always, set to a descriptive status string. The contents of this string are defined by each port monitor. JOB_INFOstructures are returned by two API functions: GetJob and EnumJobs. EnumJobs returns an array ofJOB_INFO??? ???? ???? ?????? ??????? ???? ??? ?? ????? ????? ???????? ?? ???? ????????? ?? (??????) ??? despooling ?????? ????? ??? ?????? ??????? ??? ????? ?? ??? ?? ????? ??? ????, ???? ?? ???JOB_INFO????? ?????? ????? ?? JOB_STATUS_PRINTING ?????? ????? ?????? ?? ??? ???????? ??? ??? ??? ??????? ?????? ???????? ?? ??? ?? ???? ???? ?? ?? ?????? ?? ????? ?? ???? ???? ?? ??? ???PRINTER_INFO?????? ??? ?? ?????? ?????? ???? ??? ??GetPrinter?????? ?? ??? ???? ???.. ?? ?? approach ???? ?? ??? ??? disadvantage ?? ?? ????pStatus???????? ????? ?? ??? ??PRINTER_INFO?????? ?? ???? ??????? ?? ??????? ?????? ??????? ?????? ?? ???? ??? ???????, ?? ??? ??? ?? ??? ????? ?????? ?? ??? ??? ???? ??????? ??????? ?? ?????? ?????PRINTER_INFO?????? ??? ????? ????, ??? ??, ?? Windows ?? ??? ??????? ????? ?????? ????? ?? ??? ???? ?? ????PRINTER_STATUS_ERROR??? ??????? ?????? ????? ???? ????? ??? ?? ???????? ?? ?? ?? ??? ?? ?????? ?? ??????? ?? strictly ????? ??????? ?? ??????? ???? ?? ?? ?????? ??????? ?? ???? ??? ?????? ?? ???, ?????? ?? ?????PRINTER_INFO???????? ?? ??? ???? ?? ???? ??PRINTER_STATUS_PAUSED??,PRINTER_STATUS_PENDING_DELETION, ?? strictly ?????? ?????? ?? ??????? ???? ??? ??, ?????? ?? ?????JOB_INFO?????? ?? ??? ??? ?? ?????? ??? ?? ???? ??JOB_STATUS_PAUSED??,JOB_STATUS_DELETING, ?? ???? ?? ????? ?????? ????? ???? ?? ??? ????????? ???? ???, ??, ?? ?????? ????? ?? ???? ?? accumulate ?????? ???? ??? ?? despooled ?? ?? ?? ?????? ?? ??? ???? ???? ?? ???JOB_STATUS_PRINTED. ???????? ?? ?????? ??? ?????? ??????? ?? ??????? ?? ??? ??? ??????? ????? ?? ???????? ??? ?? ????? ?? ??????? ?? ??OpenPrinter??????, ?? ??????? ?? ??? ???? ??? ???????? ?? ??????? ???? ??? ??? ?? ??? ?? ???? ?? ?? ??????? ??????? ?? ?? ???? UNC ??? ?? ???? ??????? ??????? ?? ???? ????? ????????? ???? ?? ????? ????? ??? ?? ??? ???? ?? ??? ???? ????EnumJobs??????? ???? ?? ??? ??? ?? ??????JOB_INFO???????? ?? ??? ???? ?? ??? ???? ????GetPrinter?????? ?? ??????? ???? ?? ???PRINTER_INFO????????: ????? ????????????????? ??????? ?? ??? ??????? ????????? ?? ???? ??? Win32 ?????? ?????? ?? ??? ???? ??, Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????: 158828
(http://support.microsoft.com/kb/158828/
)
??? Wind32 ?????? ??? APIs ???? ???? ??? ?? ???? ???? ???? ??:
???? ?????? ??????????????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??. ?????????? ?? ??????? ????????? ??????? ??:160129
(http://support.microsoft.com/kb/160129/en-us/
)
| ???? ?????? ???? ?????? ??????
?????????? ??????
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

????? ?? ???? ????