Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WNetUnlockQueueData
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
WORD WNetUnlockQueueData(szQueue)
LPSTR szQueue;
 
The WNetUnlockQueueData function informs the driver that Print Manager is no
longer examining a block of queue data. The driver is free to deallocate,
reallocate, move, or modify the queue information at this point.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
szQueue    Points to a null-terminated name of a network printer queue and
           is either a redirected local name or a remote name. This device
           should have been previously specified in a call to
           WNetWatchQueue.
 
Return Value
 
The return value is one of the following values.
 
Value             Meaning
────────────────────────────────────────────────────────────────────────────
WN_BAD_POINTER    Invalid pointer.
 
WN_BAD_QUEUE      The szQueue parameter is not a valid net queue or
                  redirected device.
 
WN_NET_ERROR      Network error.
 
WN_NOT_SUPPORTED  Function not supported.
 
WN_OUT_OF_MEMORY  Out of memory.
 
WN_SUCCESS        Success.
 
Comments
 
The export ordinal for this function is 11.
 
See Also
 
WNetLockQueueData