Desktop Functions: Smart Device Functions:
|
Search Results for "print" in [All]netapi32
''' Admin, Accounts, Print, or Server Operator group membership is required to successfully execute NetMessageBufferSend on a remote server.
PrintQueueServer = 0x00000200,
MicrosoftFileAndPrintServer= 0x00004000,
SV_TYPE_PRINTQ_SERVER = 0x00000200,
PrintQueueServer = 0x00000200,
MicrosoftFileAndPrintServer= 0x00004000, 4: NetShareAdd
STYPE_PRINTQ = 1,
' <summary>Printer Share</summary>
Printer = 1
STYPE_PRINTQ = 1, 6: NetShareEnum
STYPE_PRINTQ = 1, 7: NetUseAdd
shell328: CSIDL
CSIDL_PRINTERS = 0x0004, // My Computer\Printers
CSIDL_PRINTHOOD = 0x001b, // <user name>\PrintHood 9: CSIDL
/// printers, and Control Panel. The folder may also contain mapped network drives.
CSIDL_PRINTERS = 0x0004, // The virtual folder containing installed printers.
/// The file system directory that contains the link objects that can exist in the Printers virtual folder.
/// A typical path is C:\Documents and Settings\username\PrintHood.
CSIDL_PRINTHOOD = 0x001b, 10: FindExecutable
''' <summary>There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable. </summary>
/// represent the friendly names of the printer(s) affected by the change.
SHCNF_PRINTERA = 0x0002,
/// represent the friendly names of the printer(s) affected by the change.
SHCNF_PRINTERW = 0x0006,
' represent the friendly names of the printer(s) affected by the change.
SHCNF_PRINTERA = &H2
' represent the friendly names of the printer(s) affected by the change.
SHCNF_PRINTERW = &H6 12: SHBindToParent
SHCONTF_NETPRINTERSRCH = 0x0200,
private uint BIF_BROWSEFORPRINTER = 0x2000;// Browsing for Printers If using .net version 1.1 or greater, you can use [System.Windows.Forms.FolderBrowserDialog] instead -- as long as you are only browsing for folders! If you want to browse for computers or printers, the .Net version does not seem to support this. 14: ShellExecuteEx lpVerb member can be used for a varity of actions like "properties", "find", "openas", "print"..etc depending on the file type you're dealing with.Actions available for a specific file type are stored in registry, setting lpVerb to null results in the default action of that file type to be executed.
"print" - Start printing the file with the default application.
"printto" - see MSDN 15: SHGetFolderPath
CSIDL_PRINTERS = 0x0004, // My Computer\Printers
CSIDL_PRINTHOOD = 0x001b, // <user name>\PrintHood
public static readonly Guid PrintersFolder = new Guid( "76FC4E2D-D6AD-4519-A663-37BD56068185" );
public static readonly Guid PrintHood = new Guid( "9274BD8D-CFD1-41C3-B35E-B13F55A758F4" );
PRINTERS = &H4
PRINTHOOD = &H1B
CSIDL_PRINTERS = 0x0004, // My Computer\Printers
CSIDL_PRINTHOOD = 0x001b, // <user name>\PrintHood
SHOP_PRINTERNAME = &H1 '// lpObject points to a printer friendly name
SHOP_PRINTERNAME = &H1 '// lpObject points to a printer friendly name
public static Guid PrintersFolder = new Guid("76FC4E2D-D6AD-4519-A663-37BD56068185");
public static Guid PrintHood = new Guid("9274BD8D-CFD1-41C3-B35E-B13F55A758F4"); opengl32
public void glPrint(String outputString,Int32 x1, Int32 y1, Int32 x2,
// Print the string if there is room
public Int32 getPrintWidth(String outputString) kernel32
Debug.Print(CStr(CheckRemoteDebuggerPresent(proc.Handle, bool))) 24: DeviceIoControl
Printer = 0x00000018, Get OutputDebugString function implementation that accepts variable number of arguments like printf here (http://www.go4expert.com/forums/showthread.php?t=871) //sample is probably a bad idea, but it will "trim down" the memory footprint of a .Net App (or at least the value reflected in Task Manager). 27: ZeroMemory
Debug.Print(CStr(bytearray(0)) + " " + CStr(bytearray(elements - 1)) + " " + CStr(bytearray(elements)))
Debug.Print(CStr(bytearray(0)) + " " + CStr(bytearray(elements - 1)) + " " + CStr(bytearray(elements))) user3228: GetKeyboardState
VK_PRINT = 0x2A, 29: GetKeyState
VK_PRINT = 0x2A, 30: GetLastInputInfo Prints time in seconds since last user input.
printf("%d seconds\n", (idleTicks > 0)? idleTicks/1000: 0); 31: PrintWindow
static extern bool PrintWindow(IntPtr hwnd, IntPtr hDC, uint nFlags);
Private Shared Function PrintWindow(ByVal hwnd As IntPtr, ByVal hDC As IntPtr, ByVal nFlags As UInteger) As Boolean
bool success = PrintWindow(form.Handle, dc, 0);
PrintWindow Me.hWnd, Me.hDC, 0 32: UIntPtr
//Console Prints: 0 0 1
public static void CopyPrint() 33: VirtualKeyCodes Public Const VK_PRINT = &H2A 'print screen
public const uint VK_PRINT = 0x2A; 34: wsprintf
Constants35: GUID_DEVCLASS
public static readonly Guid GUID_DEVCLASS_DOT4PRINT = new Guid("{0x49ce6ac8, 0x6f86, 0x11d2, {0xb1, 0xe5, 0x00, 0x80, 0xc7, 0x2e, 0x74, 0xa2}}");
public static readonly Guid GUID_DEVCLASS_PNPPRINTERS = new Guid("{0x4658ee7e, 0xf050, 0x11d1, {0xb6, 0xbd, 0x00, 0xc0, 0x4f, 0xa3, 0x72, 0xa7}}");
public static readonly Guid GUID_DEVCLASS_PRINTER = new Guid("{0x4d36e979, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}");
public static readonly Guid GUID_DEVCLASS_PRINTERUPGRADE = new Guid("{0x4d36e97a, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}"); 36: NERR_
/// <summary> 2150 - The printer does not exist. </summary>
/// <summary> 2151 - The print job does not exist. </summary>
/// <summary> 2152 - The printer destination cannot be found. </summary>
/// <summary> 2153 - The printer destination already exists. </summary>
/// <summary> 2154 - The printer queue already exists. </summary>
/// <summary> 2155 - No more printers can be added. </summary>
/// <summary> 2156 - No more print jobs can be added. </summary>
/// <summary> 2157 - No more printer destinations can be added. </summary>
/// <summary> 2158 - This printer destination is idle and cannot accept control operations. </summary>
/// <summary> 2159 - This printer destination request contains an invalid control function. </summary>
/// <summary> 2160 - The print processor is not responding. </summary>
/// <summary> 2162 - This operation cannot be performed on the print destination in its current state. </summary>
/// <summary> 2163 - This operation cannot be performed on the printer queue in its current state. </summary>
/// <summary> 2164 - This operation cannot be performed on the print job in its current state. </summary>
/// <summary> 2167 - The data type is not supported by the print processor. </summary>
/// <summary> 2168 - The print processor is not installed. </summary> 37: PRINTER_ACCESS
private const int PRINTER_ACCESS_ADMINISTRATOR = 0x4;
private const int PRINTER_ACCESS_USE = 0x8;
private const int PRINTER_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | PRINTER_ACCESS_ADMINISTRATOR | PRINTER_ACCESS_USE; 38: PROPERTYKEY
public static PropertyKey PKEY_Document_DatePrinted = new PropertyKey( 0xF29F85E0, 0x4FF9, 0x1068, 0xAB, 0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9, 11); 39: RESOURCE
const UInt32 RESOURCETYPE_PRINT = 0x00000002; 40: ShellAPI
public const int PO_DELETE = 0x0013; // printer is being deleted
public const int PO_RENAME = 0x0014; // printer is being renamed
public const int PO_PORTCHANGE = 0x0020; // port this printer connected to is being changed
// list of strings. The first is the printer
// name and the second is the printer port.
// Printer stuff
public const int PRINTACTION_OPEN = 0;
public const int PRINTACTION_PROPERTIES = 1;
public const int PRINTACTION_NETINSTALL = 2;
public const int PRINTACTION_NETINSTALLLINK = 3;
public const int PRINTACTION_TESTPAGE = 4;
public const int PRINTACTION_OPENNETPRN = 5;
public const int PRINTACTION_DOCUMENTDEFAULTS = 6;
public const int PRINTACTION_SERVERPROPERTIES = 7; 41: ShellAPI
public const int PO_DELETE = 0x0013; // printer is being deleted
public const int PO_RENAME = 0x0014; // printer is being renamed
public const int PO_PORTCHANGE = 0x0020; // port this printer connected to is being changed
// list of strings. The first is the printer
// name and the second is the printer port.
// Printer stuff
public const int PRINTACTION_OPEN = 0;
public const int PRINTACTION_PROPERTIES = 1;
public const int PRINTACTION_NETINSTALL = 2;
public const int PRINTACTION_NETINSTALLLINK = 3;
public const int PRINTACTION_TESTPAGE = 4;
public const int PRINTACTION_OPENNETPRN = 5;
public const int PRINTACTION_DOCUMENTDEFAULTS = 6;
public const int PRINTACTION_SERVERPROPERTIES = 7; 42: WINERROR
/// The printer is out of paper.
/// The printer queue is full.
public const int ERROR_PRINTQ_FULL = 61;
/// Space to store the file waiting to be printed is not available on the server.
/// Your file waiting to be printed was deleted.
public const int ERROR_PRINT_CANCELLED = 63;
/// The specified printer or disk device has been paused.
/// The specified printer driver is already installed.
public const int ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 1795;
/// The printer driver is unknown.
public const int ERROR_UNKNOWN_PRINTER_DRIVER = 1797;
/// The print processor is unknown.
public const int ERROR_UNKNOWN_PRINTPROCESSOR = 1798;
/// The printer name is invalid.
public const int ERROR_INVALID_PRINTER_NAME = 1801;
/// The printer already exists.
public const int ERROR_PRINTER_ALREADY_EXISTS = 1802;
/// The printer command is invalid.
public const int ERROR_INVALID_PRINTER_COMMAND = 1803;
/// The specified printer handle is already being waited on
/// The specified printer has been deleted.
public const int ERROR_PRINTER_DELETED = 1905;
/// The state of the printer is invalid.
public const int ERROR_INVALID_PRINTER_STATE = 1906;
/// The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers.
public const int ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936;
/// The specified print monitor is unknown.
public const int ERROR_UNKNOWN_PRINT_MONITOR = 3000;
/// The specified printer driver is currently in use.
public const int ERROR_PRINTER_DRIVER_IN_USE = 3001;
/// A StartDocPrinter call was not issued.
/// The specified print processor has already been installed.
public const int ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 3005;
/// The specified print monitor has already been installed.
public const int ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 3006;
/// The specified print monitor does not have the required functions.
public const int ERROR_INVALID_PRINT_MONITOR = 3007;
/// The specified print monitor is currently in use.
public const int ERROR_PRINT_MONITOR_IN_USE = 3008;
/// The requested operation is not allowed when there are jobs queued to the printer.
public const int ERROR_PRINTER_HAS_JOBS_QUEUED = 3009;
/// No printers were found.
public const int ERROR_PRINTER_NOT_FOUND = 3012;
/// The printer driver is known to be unreliable.
public const int ERROR_PRINTER_DRIVER_WARNED = 3013;
/// The printer driver is known to harm the system.
public const int ERROR_PRINTER_DRIVER_BLOCKED = 3014;
/// The string contains a non-printable character.
public const int CRYPT_E_INVALID_PRINTABLE_STRING = (int)(0x80092021 - 0x100000000); 43: WM
private const UInt32 WM_PRINT = 0x0317;
private const UInt32 WM_PRINTCLIENT = 0x0318;
WM_PRINT = &H317
WM_PRINTCLIENT = &H318
WM_PRINT equ 317h
WM_PRINTCLIENT equ 318h urlmon44: FindMimeFromData
Debug.Print PtrToString(buffAddr) psapi45: EmptyWorkingSet
Print("{0:N0} Mb", ((Proc.WorkingSet64 \ 1024) \ 1024))
Print("{0:N0} Mb", ((Proc.WorkingSet64 \ 1024) \ 1024)) : Print("")
Sub Print(format$, ParamArray args As Object) rapi46: CeRapiInvoke
wsprintf( outBuffer, _T("This is just a Test!") ); ntdll
System.Diagnostics.Debug.Print(
// print results:
// sample printout: icmp49: IcmpSendEcho
printf("IcmpCreatefile returned error: %ld\n", GetLastError());
printf("Unable to allocate ReplyBuffer memory\n");
printf("!inet_addr(\"%s\")\n", ip_addr_str);
printf("No reply from %s after %d mSec\n", ip_addr_str, maxMsec);
printf("no reply from %s after %d mSec\n", ip_addr_str, maxMsec);
printf("Roundtrip time to %s = %ld mSec\n", ip_addr_str, msvcrt50: sprintf
static extern int sprintf(
static extern int swprintf(
static extern int sprintf([In,Out]StringBuilder buffer, String fmt,
static extern int sprintf([In,Out]StringBuilder buffer, String fmt,
static extern int sprintf([In,Out]StringBuilder buffer, String fmt,
Public Shared Function sprintf(ByVal TargetString As System.Text.StringBuilder, swprintf(buffer, "Greetings from thread %d\n", __arglist(Thread.CurrentThread.ManagedThreadId)); printui54: !!!!!!!!!!!!! 55: !!!!!!!!!!! 56: !!!!!!!!!! 57: !!!!!!!!! 58: !!!!!! 59: !!! 60: !! Cut off search results after 60. Please refine your search. |