3.1.4.1.11 PRINTER_HANDLE Parameters

hPrinter: An RPC context handle [C706] to an object managed by the server. The individual method sections describe which methods are used to obtain the handle and which types of object (printer object, server object, port object, or job object) are acceptable.

The individual method sections include the following parameter validation steps by reference:

  • Verify that hPrinter is an RPC context handle to an object managed by the server.

  • Verify that hPrinter is an RPC context handle to an appropriate object as defined in the referring method definition.

  • Unless noted otherwise, if the preceding validation steps fail, return ERROR_INVALID_PARAMETER [MS-ERREF].