Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

wsprintf.cpp File Reference

#include <stdarg.h>
#include <string.h>
#include <stdio.h>
#include "wine/winbase16.h"
#include "windef.h"
#include "wingdi.h"
#include "winuser.h"
#include "stackframe.h"
#include "debugtools.h"

Include dependency graph for wsprintf.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  WPRINTF_FORMAT
union  WPRINTF_DATA

Defines

#define WPRINTF_LEFTALIGN   0x0001
#define WPRINTF_PREFIX_HEX   0x0002
#define WPRINTF_ZEROPAD   0x0004
#define WPRINTF_LONG   0x0008
#define WPRINTF_SHORT   0x0010
#define WPRINTF_UPPER_HEX   0x0020
#define WPRINTF_WIDE   0x0040

Enumerations

enum  WPRINTF_TYPE {
  WPR_UNKNOWN, WPR_CHAR, WPR_WCHAR, WPR_STRING,
  WPR_WSTRING, WPR_SIGNED, WPR_UNSIGNED, WPR_HEXA
}

Functions

 DEFAULT_DEBUG_CHANNEL (string)
INT WPRINTF_ParseFormatA (LPCSTR format, WPRINTF_FORMAT *res)
INT WPRINTF_ParseFormatW (LPCWSTR format, WPRINTF_FORMAT *res)
UINT WPRINTF_GetLen (WPRINTF_FORMAT *format, WPRINTF_DATA *arg, LPSTR number, UINT maxlen)
INT16 wvsnprintf16 (LPSTR buffer, UINT16 maxlen, LPCSTR spec, LPCVOID args)
INT WINAPI wvsnprintfA (LPSTR buffer, UINT maxlen, LPCSTR spec, va_list args)
 __WIN32OS2__. More...

INT WINAPI wvsnprintfW (LPWSTR buffer, UINT maxlen, LPCWSTR spec, va_list args)
INT16 WINAPI wvsprintf16 (LPSTR buffer, LPCSTR spec, LPCVOID args)
INT WINAPI wvsprintfA (LPSTR buffer, LPCSTR spec, va_list args)
 __WIN32OS2__. More...

INT WINAPI wvsprintfW (LPWSTR buffer, LPCWSTR spec, va_list args)
INT16 WINAPIV wsprintf16 (void)
INT WINAPIV wsprintfA (LPSTR buffer, LPCSTR spec,...)
 __WIN32OS2__. More...

INT WINAPIV wsprintfW (LPWSTR buffer, LPCWSTR spec,...)
INT WINAPIV wsnprintfA (LPSTR buffer, UINT maxlen, LPCSTR spec,...)
INT WINAPIV wsnprintfW (LPWSTR buffer, UINT maxlen, LPCWSTR spec,...)

Variables

const CHAR null_stringA [] = "(null)"
const WCHAR null_stringW [] = { '(', 'n', 'u', 'l', 'l', ')', 0 }


Define Documentation

#define WPRINTF_LEFTALIGN   0x0001
 

Definition at line 34 of file wsprintf.cpp.

#define WPRINTF_PREFIX_HEX   0x0002
 

Definition at line 35 of file wsprintf.cpp.

#define WPRINTF_ZEROPAD   0x0004
 

Definition at line 36 of file wsprintf.cpp.

#define WPRINTF_LONG   0x0008
 

Definition at line 37 of file wsprintf.cpp.

#define WPRINTF_SHORT   0x0010
 

Definition at line 38 of file wsprintf.cpp.

#define WPRINTF_UPPER_HEX   0x0020
 

Definition at line 39 of file wsprintf.cpp.

#define WPRINTF_WIDE   0x0040
 

Definition at line 40 of file wsprintf.cpp.


Enumeration Type Documentation

enum WPRINTF_TYPE
 

Enumeration values:
WPR_UNKNOWN 
WPR_CHAR 
WPR_WCHAR 
WPR_STRING 
WPR_WSTRING 
WPR_SIGNED 
WPR_UNSIGNED 
WPR_HEXA 

Definition at line 42 of file wsprintf.cpp.


Function Documentation

DEFAULT_DEBUG_CHANNEL string   
 

INT WPRINTF_ParseFormatA LPCSTR    format,
WPRINTF_FORMAT   res
[static]
 

Definition at line 82 of file wsprintf.cpp.

Referenced by wvsnprintf16(), and wvsnprintfA().

INT WPRINTF_ParseFormatW LPCWSTR    format,
WPRINTF_FORMAT   res
[static]
 

Definition at line 154 of file wsprintf.cpp.

Referenced by wvsnprintfW().

UINT WPRINTF_GetLen WPRINTF_FORMAT   format,
WPRINTF_DATA   arg,
LPSTR    number,
UINT    maxlen
[static]
 

Definition at line 220 of file wsprintf.cpp.

Referenced by wvsnprintf16(), wvsnprintfA(), and wvsnprintfW().

INT16 wvsnprintf16 LPSTR    buffer,
UINT16    maxlen,
LPCSTR    spec,
LPCVOID    args
[static]
 

Definition at line 272 of file wsprintf.cpp.

Referenced by wsprintf16(), and wvsprintf16().

INT WINAPI wvsnprintfA LPSTR    buffer,
UINT    maxlen,
LPCSTR    spec,
va_list    args
 

__WIN32OS2__.

Definition at line 367 of file wsprintf.cpp.

Referenced by wsnprintfA(), wsprintfA(), and wvsprintfA().

INT WINAPI wvsnprintfW LPWSTR    buffer,
UINT    maxlen,
LPCWSTR    spec,
va_list    args
 

Definition at line 468 of file wsprintf.cpp.

Referenced by wsnprintfW(), wsprintfW(), and wvsprintfW().

INT16 WINAPI wvsprintf16 LPSTR    buffer,
LPCSTR    spec,
LPCVOID    args
 

Definition at line 569 of file wsprintf.cpp.

INT WINAPI wvsprintfA LPSTR    buffer,
LPCSTR    spec,
va_list    args
 

__WIN32OS2__.

Definition at line 583 of file wsprintf.cpp.

INT WINAPI wvsprintfW LPWSTR    buffer,
LPCWSTR    spec,
va_list    args
 

Definition at line 593 of file wsprintf.cpp.

INT16 WINAPIV wsprintf16 void   
 

Definition at line 603 of file wsprintf.cpp.

INT WINAPIV wsprintfA LPSTR    buffer,
LPCSTR    spec,
...   
 

__WIN32OS2__.

Definition at line 622 of file wsprintf.cpp.

INT WINAPIV wsprintfW LPWSTR    buffer,
LPCWSTR    spec,
...   
 

Definition at line 637 of file wsprintf.cpp.

Referenced by CreateWindowExW(), and MDI_MenuDeleteItem().

INT WINAPIV wsnprintfA LPSTR    buffer,
UINT    maxlen,
LPCSTR    spec,
...   
 

Definition at line 651 of file wsprintf.cpp.

INT WINAPIV wsnprintfW LPWSTR    buffer,
UINT    maxlen,
LPCWSTR    spec,
...   
 

Definition at line 665 of file wsprintf.cpp.


Variable Documentation

const CHAR null_stringA[] = "(null)" [static]
 

Definition at line 70 of file wsprintf.cpp.

const WCHAR null_stringW[] = { '(', 'n', 'u', 'l', 'l', ')', 0 } [static]
 

Definition at line 71 of file wsprintf.cpp.


Generated on Wed Jan 23 23:22:08 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001