◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── WORD WNetUnwatchQueue(szLocal) LPSTR szLocal; The WNetUnwatchQueue function directs the driver to stop posting notification messages. The driver may assume that watched queues will be cancelled before Print Manager terminates. Parameter Description ──────────────────────────────────────────────────────────────────────────── szLocal Points to a null-terminated name of a local device. 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 9. ♦