foobar2000 SDK  2015-08-03
Data Structures | Typedefs | Enumerations | Functions
shared.h File Reference

Go to the source code of this file.

Data Structures

class  comparator_stricmp_utf8
 
class  modal_dialog_scope
 
class  string_lower
 
class  string_upper
 
class  string_utf8_from_window
 
struct  t_font_description
 
struct  t_modal_dialog_entry
 
class  uFindFile
 
class  uGetOpenFileNameMultiResult
 
class  uResource
 
class  uStringPrintf
 

Typedefs

typedef uFindFilepuFindFile
 
typedef uGetOpenFileNameMultiResultpuGetOpenFileNameMultiResult
 
typedef uResourcepuResource
 
typedef TCITEMA uTCITEM
 
typedef TVINSERTSTRUCTA uTVINSERTSTRUCT
 

Enumerations

enum  { uPrintCrashInfo_max_length = 1024 }
 

Functions

HANDLE SHARED_EXPORT CreateFileAbortable (__in LPCWSTR lpFileName, __in DWORD dwDesiredAccess, __in DWORD dwShareMode, __in_opt LPSECURITY_ATTRIBUTES lpSecurityAttributes, __in DWORD dwCreationDisposition, __in DWORD dwFlagsAndAttributes, __in_opt HANDLE hAborter)
 
HWND SHARED_EXPORT FindOwningPopup (HWND p_wnd)
 
HANDLE SHARED_EXPORT GetInfiniteWaitEvent ()
 
puResource SHARED_EXPORT LoadResourceEx (HMODULE hMod, const TCHAR *name, const TCHAR *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
 
HMODULE SHARED_EXPORT LoadSystemLibrary (const TCHAR *name)
 
bool SHARED_EXPORT ModalDialog_CanCreateNew ()
 
void SHARED_EXPORT ModalDialog_PokeExisting ()
 
void SHARED_EXPORT ModalDialog_Switch (t_modal_dialog_entry &p_entry)
 
static bool ModalDialogPrologue ()
 
void SHARED_EXPORT PokeWindow (HWND p_wnd)
 
int SHARED_EXPORT stricmp_utf8 (const char *p1, const char *p2) throw ()
 
int SHARED_EXPORT stricmp_utf8_ex (const char *p1, t_size len1, const char *p2, t_size len2) throw ()
 
int SHARED_EXPORT stricmp_utf8_max (const char *p1, const char *p2, t_size p1_bytes) throw ()
 
int SHARED_EXPORT stricmp_utf8_partial (const char *p1, const char *p2, t_size num=~0) throw ()
 
int SHARED_EXPORT stricmp_utf8_stringtoblock (const char *p1, const char *p2, t_size p2_bytes) throw ()
 
static void uAddDebugEvent (const char *msg)
 
static void uAddDebugEvent (pfc::string_formatter const &msg)
 
void SHARED_EXPORT uAddStringLower (pfc::string_base &out, const char *src, t_size len=~0)
 
void SHARED_EXPORT uAddStringUpper (pfc::string_base &out, const char *src, t_size len=~0)
 
BOOL SHARED_EXPORT uAppendMenu (HMENU menu, UINT flags, UINT_PTR id, const char *content)
 
BOOL SHARED_EXPORT uBrowseForFolder (HWND parent, const char *title, pfc::string_base &out)
 
puGetOpenFileNameMultiResult SHARED_EXPORT uBrowseForFolderEx (HWND parent, const char *title, const char *initPath)
 
BOOL SHARED_EXPORT uBrowseForFolderWithFile (HWND parent, const char *title, pfc::string_base &out, const char *p_file_to_find)
 
bool uButton_GetCheck (HWND wnd, UINT id)
 
LRESULT uButton_SetCheck (HWND wnd, UINT id, bool state)
 
int SHARED_EXPORT uCharCompare (t_uint32 p_char1, t_uint32 p_char2)
 
t_size SHARED_EXPORT uCharLength (const char *src)
 
UINT SHARED_EXPORT uCharLower (UINT c)
 
char * uCharNext (char *src)
 
const char * uCharNext (const char *src)
 
UINT SHARED_EXPORT uCharUpper (UINT c)
 
BOOL SHARED_EXPORT uChooseColor (DWORD *p_color, HWND parent, DWORD *p_custom_colors)
 
int SHARED_EXPORT uCompareString (DWORD flags, const char *str1, unsigned len1, const char *str2, unsigned len2)
 
BOOL SHARED_EXPORT uCreateDirectory (const char *fn, LPSECURITY_ATTRIBUTES blah)
 
HANDLE SHARED_EXPORT uCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, const char *lpName)
 
HANDLE SHARED_EXPORT uCreateFile (const char *p_path, DWORD p_access, DWORD p_sharemode, LPSECURITY_ATTRIBUTES p_security_attributes, DWORD p_createmode, DWORD p_flags, HANDLE p_template)
 
HANDLE SHARED_EXPORT uCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const char *lpName)
 
HANDLE SHARED_EXPORT uCreateMutex (LPSECURITY_ATTRIBUTES blah, BOOL bInitialOwner, const char *name)
 
HWND SHARED_EXPORT uCreateStatusWindow (LONG style, const char *text, HWND parent, UINT id)
 
HWND SHARED_EXPORT uCreateWindowEx (DWORD dwExStyle, const char *lpClassName, const char *lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)
 
BOOL SHARED_EXPORT uDdeAccessData_Text (HDDEDATA data, pfc::string_base &out)
 
HSZ SHARED_EXPORT uDdeCreateStringHandle (DWORD ins, const char *src)
 
UINT SHARED_EXPORT uDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes)
 
BOOL SHARED_EXPORT uDdeQueryString (DWORD ins, HSZ hsz, pfc::string_base &out)
 
BOOL SHARED_EXPORT uDeleteFile (const char *fn)
 
BOOL SHARED_EXPORT uDragQueryFile (HDROP hDrop, UINT idx, pfc::string_base &out)
 
UINT SHARED_EXPORT uDragQueryFileCount (HDROP hDrop)
 
void SHARED_EXPORT uDumpCrashInfo (LPEXCEPTION_POINTERS param)
 
puGetOpenFileNameMultiResult SHARED_EXPORT uEvalKnownFolder (const GUID &id)
 
BOOL SHARED_EXPORT uExpandEnvironmentStrings (const char *src, pfc::string_base &out)
 
BOOL SHARED_EXPORT uExtTextOut (HDC dc, int x, int y, UINT flags, const RECT *rect, const char *text, UINT cb, const int *lpdx)
 
BOOL SHARED_EXPORT uFileExists (const char *fn)
 
puFindFile SHARED_EXPORT uFindFirstFile (const char *path)
 
HRSRC SHARED_EXPORT uFindResource (HMODULE hMod, const char *name, const char *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
 
void SHARED_EXPORT uFixAmpersandChars (const char *src, pfc::string_base &out)
 
void SHARED_EXPORT uFixAmpersandChars_v2 (const char *src, pfc::string_base &out)
 
BOOL SHARED_EXPORT uFixPathCaps (const char *path, pfc::string_base &p_out)
 
BOOL SHARED_EXPORT uFormatSystemErrorMessage (pfc::string_base &p_out, DWORD p_code)
 
BOOL SHARED_EXPORT uGetClassName (HWND wnd, pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetClipboardFormatName (UINT format, pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetClipboardString (pfc::string_base &out)
 
void SHARED_EXPORT uGetCommandLine (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetCurrentDirectory (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetDlgItemText (HWND wnd, UINT id, pfc::string_base &out)
 
static pfc::string uGetDlgItemText (HWND wnd, UINT id)
 
BOOL SHARED_EXPORT uGetEnvironmentVariable (const char *name, pfc::string_base &out)
 
DWORD SHARED_EXPORT uGetFileAttributes (const char *fn)
 
UINT SHARED_EXPORT uGetFontHeight (HFONT font)
 
BOOL SHARED_EXPORT uGetFullPathName (const char *name, pfc::string_base &out)
 
int SHARED_EXPORT uGetKeyNameText (LONG lparam, pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetLongPathName (const char *name, pfc::string_base &out)
 
BOOL uGetLongPathNameEx (const char *name, pfc::string_base &out)
 
UINT SHARED_EXPORT uGetMenuItemType (HMENU menu, UINT position)
 
BOOL SHARED_EXPORT uGetMenuString (HMENU menu, UINT id, pfc::string_base &out, UINT flag)
 
DWORD SHARED_EXPORT uGetModuleFileName (HMODULE hMod, pfc::string_base &out)
 
HMODULE SHARED_EXPORT uGetModuleHandle (const char *name)
 
BOOL SHARED_EXPORT uGetOpenFileName (HWND parent, const char *p_ext_mask, unsigned def_ext_mask, const char *p_def_ext, const char *p_title, const char *p_directory, pfc::string_base &p_filename, BOOL b_save)
 
puGetOpenFileNameMultiResult SHARED_EXPORT uGetOpenFileNameMulti (HWND parent, const char *p_ext_mask, unsigned def_ext_mask, const char *p_def_ext, const char *p_title, const char *p_directory)
 
BOOL SHARED_EXPORT uGetShortPathName (const char *src, pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetSystemDirectory (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetTempFileName (const char *path_name, const char *prefix, UINT unique, pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetTempPath (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetTextExtentPoint32 (HDC dc, const char *text, UINT cb, LPSIZE size)
 
UINT SHARED_EXPORT uGetTextHeight (HDC dc)
 
BOOL SHARED_EXPORT uGetUserName (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetWindowsDirectory (pfc::string_base &out)
 
BOOL SHARED_EXPORT uGetWindowText (HWND wnd, pfc::string_base &out)
 
static pfc::string uGetWindowText (HWND wnd)
 
HIMAGELIST SHARED_EXPORT uImageList_LoadImage (HINSTANCE hi, const char *lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags)
 
BOOL SHARED_EXPORT uInsertMenu (HMENU menu, UINT position, UINT flags, UINT_PTR id, const char *content)
 
BOOL SHARED_EXPORT uListBox_GetText (HWND listbox, UINT index, pfc::string_base &out)
 
HCURSOR SHARED_EXPORT uLoadCursor (HINSTANCE hIns, const char *name)
 
HICON SHARED_EXPORT uLoadIcon (HINSTANCE hIns, const char *name)
 
HANDLE SHARED_EXPORT uLoadImage (HINSTANCE hIns, const char *name, UINT type, int x, int y, UINT flags)
 
HINSTANCE SHARED_EXPORT uLoadLibrary (const char *name)
 
HMENU SHARED_EXPORT uLoadMenu (HINSTANCE hIns, const char *name)
 
puResource SHARED_EXPORT uLoadResource (HMODULE hMod, const char *name, const char *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
 
BOOL SHARED_EXPORT uLoadString (HINSTANCE ins, UINT id, pfc::string_base &out)
 
int SHARED_EXPORT uMessageBox (HWND wnd, const char *text, const char *caption, UINT type)
 
BOOL SHARED_EXPORT uModifyMenu (HMENU menu, UINT id, UINT flags, UINT newitem, const char *data)
 
BOOL SHARED_EXPORT uMoveFile (const char *src, const char *dst)
 
void SHARED_EXPORT uOutputDebugString (const char *msg)
 
t_size SHARED_EXPORT uPrintCrashInfo (LPEXCEPTION_POINTERS param, const char *extrainfo, char *out)
 
void SHARED_EXPORT uPrintCrashInfo_AddEnvironmentInfo (const char *p_info)
 
void SHARED_EXPORT uPrintCrashInfo_Init (const char *name)
 
void SHARED_EXPORT uPrintCrashInfo_OnEvent (const char *message, t_size length)
 
void SHARED_EXPORT uPrintCrashInfo_SetComponentList (const char *p_info)
 
void SHARED_EXPORT uPrintCrashInfo_SetDumpPath (const char *name)
 
static void uPrintf (pfc::string_base &out, const char *fmt,...)
 
void SHARED_EXPORT uPrintfV (pfc::string_base &out, const char *fmt, va_list arglist)
 
UINT SHARED_EXPORT uRegisterClipboardFormat (const char *name)
 
UINT SHARED_EXPORT uRegisterWindowMessage (const char *name)
 
BOOL SHARED_EXPORT uRemoveDirectory (const char *fn)
 
t_size uReplaceChar (pfc::string_base &out, const char *src, t_size src_len, unsigned c1, unsigned c2, bool casesens)
 
t_size SHARED_EXPORT uReplaceCharAdd (pfc::string_base &out, const char *src, t_size src_len, unsigned c1, unsigned c2, bool casesens)
 
t_size uReplaceString (pfc::string_base &out, const char *src, t_size src_len, const char *s1, t_size len1, const char *s2, t_size len2, bool casesens)
 
t_size SHARED_EXPORT uReplaceStringAdd (pfc::string_base &out, const char *src, t_size src_len, const char *s1, t_size len1, const char *s2, t_size len2, bool casesens)
 
BOOL SHARED_EXPORT uSearchPath (const char *path, const char *filename, const char *extension, pfc::string_base &p_out)
 
LRESULT SHARED_EXPORT uSendDlgItemMessageText (HWND wnd, UINT id, UINT msg, WPARAM wp, const char *text)
 
LRESULT SHARED_EXPORT uSendMessageText (HWND wnd, UINT msg, WPARAM wp, const char *text)
 
BOOL SHARED_EXPORT uSetClipboardRawData (UINT format, const void *ptr, t_size size)
 
BOOL SHARED_EXPORT uSetClipboardString (const char *ptr)
 
BOOL SHARED_EXPORT uSetCurrentDirectory (const char *path)
 
BOOL SHARED_EXPORT uSetDlgItemText (HWND wnd, UINT id, const char *p_text)
 
BOOL SHARED_EXPORT uSetDlgItemTextEx (HWND wnd, UINT id, const char *p_text, unsigned p_text_length)
 
BOOL SHARED_EXPORT uSetWindowText (HWND wnd, const char *p_text)
 
BOOL SHARED_EXPORT uSetWindowTextEx (HWND wnd, const char *p_text, unsigned p_text_length)
 
HINSTANCE SHARED_EXPORT uShellExecute (HWND wnd, const char *oper, const char *file, const char *params, const char *dir, int cmd)
 
BOOL SHARED_EXPORT uShellNotifyIcon (DWORD dwMessage, HWND wnd, UINT id, UINT callbackmsg, HICON icon, const char *tip)
 
BOOL SHARED_EXPORT uShellNotifyIconEx (DWORD dwMessage, HWND wnd, UINT id, UINT callbackmsg, HICON icon, const char *tip, const char *balloon_title, const char *balloon_msg)
 
int SHARED_EXPORT uSortPathCompare (HANDLE string1, HANDLE string2)
 
int SHARED_EXPORT uSortStringCompare (HANDLE string1, HANDLE string2)
 
int SHARED_EXPORT uSortStringCompareEx (HANDLE string1, HANDLE string2, DWORD flags)
 
HANDLE SHARED_EXPORT uSortStringCreate (const char *src)
 
void SHARED_EXPORT uSortStringFree (HANDLE string)
 
int SHARED_EXPORT uStringCompare (const char *elem1, const char *elem2)
 
int SHARED_EXPORT uStringCompare_ConvertNumbers (const char *elem1, const char *elem2)
 
void uStringLower (pfc::string_base &out, const char *src, t_size len=~0)
 
void uStringUpper (pfc::string_base &out, const char *src, t_size len=~0)
 
int SHARED_EXPORT uTabCtrl_InsertItem (HWND wnd, t_size idx, const uTCITEM *item)
 
int SHARED_EXPORT uTabCtrl_SetItem (HWND wnd, t_size idx, const uTCITEM *item)
 
BOOL SHARED_EXPORT uTextOutColors (HDC dc, const char *src, UINT len, int x, int y, const RECT *clip, BOOL is_selected, DWORD default_color)
 
BOOL SHARED_EXPORT uTextOutColorsTabbed (HDC dc, const char *src, UINT src_len, const RECT *item, int border, const RECT *clip, BOOL selected, DWORD default_color, BOOL use_columns)
 
bool SHARED_EXPORT uTreeView_GetText (HWND wnd, HTREEITEM item, pfc::string_base &out)
 
LPARAM SHARED_EXPORT uTreeView_GetUserData (HWND wnd, HTREEITEM item)
 
HTREEITEM SHARED_EXPORT uTreeView_InsertItem (HWND wnd, const uTVINSERTSTRUCT *param)
 

Data Structure Documentation

struct t_modal_dialog_entry

Definition at line 482 of file shared.h.

Data Fields
bool m_in_use
HWND m_wnd_to_poke

Typedef Documentation

Definition at line 171 of file shared.h.

Definition at line 146 of file shared.h.

Definition at line 254 of file shared.h.

typedef TCITEMA uTCITEM

Definition at line 216 of file shared.h.

typedef TVINSERTSTRUCTA uTVINSERTSTRUCT

Definition at line 206 of file shared.h.

Enumeration Type Documentation

anonymous enum
Enumerator
uPrintCrashInfo_max_length 

Definition at line 227 of file shared.h.

Function Documentation

HANDLE SHARED_EXPORT CreateFileAbortable ( __in LPCWSTR  lpFileName,
__in DWORD  dwDesiredAccess,
__in DWORD  dwShareMode,
__in_opt LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
__in DWORD  dwCreationDisposition,
__in DWORD  dwFlagsAndAttributes,
__in_opt HANDLE  hAborter 
)
HWND SHARED_EXPORT FindOwningPopup ( HWND  p_wnd)
HANDLE SHARED_EXPORT GetInfiniteWaitEvent ( )
puResource SHARED_EXPORT LoadResourceEx ( HMODULE  hMod,
const TCHAR *  name,
const TCHAR *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)
HMODULE SHARED_EXPORT LoadSystemLibrary ( const TCHAR *  name)
bool SHARED_EXPORT ModalDialog_CanCreateNew ( )
void SHARED_EXPORT ModalDialog_PokeExisting ( )
void SHARED_EXPORT ModalDialog_Switch ( t_modal_dialog_entry p_entry)
static bool ModalDialogPrologue ( )
static

Definition at line 497 of file shared.h.

497  {
498  bool rv = ModalDialog_CanCreateNew();
499  if (!rv) ModalDialog_PokeExisting();
500  return rv;
501 }
bool SHARED_EXPORT ModalDialog_CanCreateNew()
void SHARED_EXPORT ModalDialog_PokeExisting()
void SHARED_EXPORT PokeWindow ( HWND  p_wnd)
int SHARED_EXPORT stricmp_utf8 ( const char *  p1,
const char *  p2 
)
throw (
)
int SHARED_EXPORT stricmp_utf8_ex ( const char *  p1,
t_size  len1,
const char *  p2,
t_size  len2 
)
throw (
)
int SHARED_EXPORT stricmp_utf8_max ( const char *  p1,
const char *  p2,
t_size  p1_bytes 
)
throw (
)
int SHARED_EXPORT stricmp_utf8_partial ( const char *  p1,
const char *  p2,
t_size  num = ~0 
)
throw (
)
int SHARED_EXPORT stricmp_utf8_stringtoblock ( const char *  p1,
const char *  p2,
t_size  p2_bytes 
)
throw (
)
static void uAddDebugEvent ( const char *  msg)
inlinestatic

Definition at line 275 of file shared.h.

275 {uPrintCrashInfo_OnEvent(msg, strlen(msg));}
void SHARED_EXPORT uPrintCrashInfo_OnEvent(const char *message, t_size length)
static void uAddDebugEvent ( pfc::string_formatter const &  msg)
inlinestatic

Definition at line 276 of file shared.h.

276 {uPrintCrashInfo_OnEvent(msg, msg.length());}
void SHARED_EXPORT uPrintCrashInfo_OnEvent(const char *message, t_size length)
void SHARED_EXPORT uAddStringLower ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)
void SHARED_EXPORT uAddStringUpper ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)
BOOL SHARED_EXPORT uAppendMenu ( HMENU  menu,
UINT  flags,
UINT_PTR  id,
const char *  content 
)
BOOL SHARED_EXPORT uBrowseForFolder ( HWND  parent,
const char *  title,
pfc::string_base out 
)
puGetOpenFileNameMultiResult SHARED_EXPORT uBrowseForFolderEx ( HWND  parent,
const char *  title,
const char *  initPath 
)
BOOL SHARED_EXPORT uBrowseForFolderWithFile ( HWND  parent,
const char *  title,
pfc::string_base out,
const char *  p_file_to_find 
)
bool uButton_GetCheck ( HWND  wnd,
UINT  id 
)
inline

Definition at line 363 of file shared.h.

363 {return uSendDlgItemMessage(wnd,id,BM_GETCHECK,0,0) == BST_CHECKED;}
LRESULT uButton_SetCheck ( HWND  wnd,
UINT  id,
bool  state 
)
inline

Definition at line 362 of file shared.h.

362 {return uSendDlgItemMessage(wnd,id,BM_SETCHECK,state ? BST_CHECKED : BST_UNCHECKED,0); }
int SHARED_EXPORT uCharCompare ( t_uint32  p_char1,
t_uint32  p_char2 
)
t_size SHARED_EXPORT uCharLength ( const char *  src)
UINT SHARED_EXPORT uCharLower ( UINT  c)
char* uCharNext ( char *  src)
inline

Definition at line 278 of file shared.h.

278 {return src+uCharLength(src);}
t_size SHARED_EXPORT uCharLength(const char *src)
const char* uCharNext ( const char *  src)
inline

Definition at line 279 of file shared.h.

279 {return src+uCharLength(src);}
t_size SHARED_EXPORT uCharLength(const char *src)
UINT SHARED_EXPORT uCharUpper ( UINT  c)
BOOL SHARED_EXPORT uChooseColor ( DWORD *  p_color,
HWND  parent,
DWORD *  p_custom_colors 
)
int SHARED_EXPORT uCompareString ( DWORD  flags,
const char *  str1,
unsigned  len1,
const char *  str2,
unsigned  len2 
)
BOOL SHARED_EXPORT uCreateDirectory ( const char *  fn,
LPSECURITY_ATTRIBUTES  blah 
)
HANDLE SHARED_EXPORT uCreateEvent ( LPSECURITY_ATTRIBUTES  lpEventAttributes,
BOOL  bManualReset,
BOOL  bInitialState,
const char *  lpName 
)
HANDLE SHARED_EXPORT uCreateFile ( const char *  p_path,
DWORD  p_access,
DWORD  p_sharemode,
LPSECURITY_ATTRIBUTES  p_security_attributes,
DWORD  p_createmode,
DWORD  p_flags,
HANDLE  p_template 
)
HANDLE SHARED_EXPORT uCreateFileMapping ( HANDLE  hFile,
LPSECURITY_ATTRIBUTES  lpFileMappingAttributes,
DWORD  flProtect,
DWORD  dwMaximumSizeHigh,
DWORD  dwMaximumSizeLow,
const char *  lpName 
)
HANDLE SHARED_EXPORT uCreateMutex ( LPSECURITY_ATTRIBUTES  blah,
BOOL  bInitialOwner,
const char *  name 
)
HWND SHARED_EXPORT uCreateStatusWindow ( LONG  style,
const char *  text,
HWND  parent,
UINT  id 
)
HWND SHARED_EXPORT uCreateWindowEx ( DWORD  dwExStyle,
const char *  lpClassName,
const char *  lpWindowName,
DWORD  dwStyle,
int  x,
int  y,
int  nWidth,
int  nHeight,
HWND  hWndParent,
HMENU  hMenu,
HINSTANCE  hInstance,
LPVOID  lpParam 
)
BOOL SHARED_EXPORT uDdeAccessData_Text ( HDDEDATA  data,
pfc::string_base out 
)
HSZ SHARED_EXPORT uDdeCreateStringHandle ( DWORD  ins,
const char *  src 
)
UINT SHARED_EXPORT uDdeInitialize ( LPDWORD  pidInst,
PFNCALLBACK  pfnCallback,
DWORD  afCmd,
DWORD  ulRes 
)
BOOL SHARED_EXPORT uDdeQueryString ( DWORD  ins,
HSZ  hsz,
pfc::string_base out 
)
BOOL SHARED_EXPORT uDeleteFile ( const char *  fn)
BOOL SHARED_EXPORT uDragQueryFile ( HDROP  hDrop,
UINT  idx,
pfc::string_base out 
)
UINT SHARED_EXPORT uDragQueryFileCount ( HDROP  hDrop)
void SHARED_EXPORT uDumpCrashInfo ( LPEXCEPTION_POINTERS  param)
puGetOpenFileNameMultiResult SHARED_EXPORT uEvalKnownFolder ( const GUID id)
BOOL SHARED_EXPORT uExpandEnvironmentStrings ( const char *  src,
pfc::string_base out 
)
BOOL SHARED_EXPORT uExtTextOut ( HDC  dc,
int  x,
int  y,
UINT  flags,
const RECT *  rect,
const char *  text,
UINT  cb,
const int *  lpdx 
)
BOOL SHARED_EXPORT uFileExists ( const char *  fn)
puFindFile SHARED_EXPORT uFindFirstFile ( const char *  path)
HRSRC SHARED_EXPORT uFindResource ( HMODULE  hMod,
const char *  name,
const char *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)
void SHARED_EXPORT uFixAmpersandChars ( const char *  src,
pfc::string_base out 
)
void SHARED_EXPORT uFixAmpersandChars_v2 ( const char *  src,
pfc::string_base out 
)
BOOL SHARED_EXPORT uFixPathCaps ( const char *  path,
pfc::string_base p_out 
)
BOOL SHARED_EXPORT uFormatSystemErrorMessage ( pfc::string_base p_out,
DWORD  p_code 
)
BOOL SHARED_EXPORT uGetClassName ( HWND  wnd,
pfc::string_base out 
)
BOOL SHARED_EXPORT uGetClipboardFormatName ( UINT  format,
pfc::string_base out 
)
BOOL SHARED_EXPORT uGetClipboardString ( pfc::string_base out)
void SHARED_EXPORT uGetCommandLine ( pfc::string_base out)
BOOL SHARED_EXPORT uGetCurrentDirectory ( pfc::string_base out)
BOOL SHARED_EXPORT uGetDlgItemText ( HWND  wnd,
UINT  id,
pfc::string_base out 
)
static pfc::string uGetDlgItemText ( HWND  wnd,
UINT  id 
)
static

Definition at line 306 of file shared.h.

306  {
307  pfc::string8 temp;
308  if (!uGetDlgItemText(wnd,id,temp)) return "";
309  return temp.toString();
310 }
BOOL SHARED_EXPORT uGetDlgItemText(HWND wnd, UINT id, pfc::string_base &out)
const char * toString() const
Definition: string_base.h:206
BOOL SHARED_EXPORT uGetEnvironmentVariable ( const char *  name,
pfc::string_base out 
)
DWORD SHARED_EXPORT uGetFileAttributes ( const char *  fn)
UINT SHARED_EXPORT uGetFontHeight ( HFONT  font)
BOOL SHARED_EXPORT uGetFullPathName ( const char *  name,
pfc::string_base out 
)
int SHARED_EXPORT uGetKeyNameText ( LONG  lparam,
pfc::string_base out 
)
BOOL SHARED_EXPORT uGetLongPathName ( const char *  name,
pfc::string_base out 
)
BOOL uGetLongPathNameEx ( const char *  name,
pfc::string_base out 
)
inline

Definition at line 425 of file shared.h.

426 {
427  if (uGetLongPathName(name,out)) return TRUE;
428  return uGetFullPathName(name,out);
429 }
BOOL SHARED_EXPORT uGetFullPathName(const char *name, pfc::string_base &out)
BOOL SHARED_EXPORT uGetLongPathName(const char *name, pfc::string_base &out)
UINT SHARED_EXPORT uGetMenuItemType ( HMENU  menu,
UINT  position 
)
BOOL SHARED_EXPORT uGetMenuString ( HMENU  menu,
UINT  id,
pfc::string_base out,
UINT  flag 
)
DWORD SHARED_EXPORT uGetModuleFileName ( HMODULE  hMod,
pfc::string_base out 
)
HMODULE SHARED_EXPORT uGetModuleHandle ( const char *  name)
BOOL SHARED_EXPORT uGetOpenFileName ( HWND  parent,
const char *  p_ext_mask,
unsigned  def_ext_mask,
const char *  p_def_ext,
const char *  p_title,
const char *  p_directory,
pfc::string_base p_filename,
BOOL  b_save 
)
puGetOpenFileNameMultiResult SHARED_EXPORT uGetOpenFileNameMulti ( HWND  parent,
const char *  p_ext_mask,
unsigned  def_ext_mask,
const char *  p_def_ext,
const char *  p_title,
const char *  p_directory 
)
BOOL SHARED_EXPORT uGetShortPathName ( const char *  src,
pfc::string_base out 
)
BOOL SHARED_EXPORT uGetSystemDirectory ( pfc::string_base out)
BOOL SHARED_EXPORT uGetTempFileName ( const char *  path_name,
const char *  prefix,
UINT  unique,
pfc::string_base out 
)
BOOL SHARED_EXPORT uGetTempPath ( pfc::string_base out)
BOOL SHARED_EXPORT uGetTextExtentPoint32 ( HDC  dc,
const char *  text,
UINT  cb,
LPSIZE  size 
)
UINT SHARED_EXPORT uGetTextHeight ( HDC  dc)
BOOL SHARED_EXPORT uGetUserName ( pfc::string_base out)
BOOL SHARED_EXPORT uGetWindowsDirectory ( pfc::string_base out)
BOOL SHARED_EXPORT uGetWindowText ( HWND  wnd,
pfc::string_base out 
)
static pfc::string uGetWindowText ( HWND  wnd)
static

Definition at line 301 of file shared.h.

301  {
302  pfc::string8 temp;
303  if (!uGetWindowText(wnd,temp)) return "";
304  return temp.toString();
305 }
BOOL SHARED_EXPORT uGetWindowText(HWND wnd, pfc::string_base &out)
const char * toString() const
Definition: string_base.h:206
HIMAGELIST SHARED_EXPORT uImageList_LoadImage ( HINSTANCE  hi,
const char *  lpbmp,
int  cx,
int  cGrow,
COLORREF  crMask,
UINT  uType,
UINT  uFlags 
)
BOOL SHARED_EXPORT uInsertMenu ( HMENU  menu,
UINT  position,
UINT  flags,
UINT_PTR  id,
const char *  content 
)
BOOL SHARED_EXPORT uListBox_GetText ( HWND  listbox,
UINT  index,
pfc::string_base out 
)
HCURSOR SHARED_EXPORT uLoadCursor ( HINSTANCE  hIns,
const char *  name 
)
HICON SHARED_EXPORT uLoadIcon ( HINSTANCE  hIns,
const char *  name 
)
HANDLE SHARED_EXPORT uLoadImage ( HINSTANCE  hIns,
const char *  name,
UINT  type,
int  x,
int  y,
UINT  flags 
)
HINSTANCE SHARED_EXPORT uLoadLibrary ( const char *  name)
HMENU SHARED_EXPORT uLoadMenu ( HINSTANCE  hIns,
const char *  name 
)
puResource SHARED_EXPORT uLoadResource ( HMODULE  hMod,
const char *  name,
const char *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)
BOOL SHARED_EXPORT uLoadString ( HINSTANCE  ins,
UINT  id,
pfc::string_base out 
)
int SHARED_EXPORT uMessageBox ( HWND  wnd,
const char *  text,
const char *  caption,
UINT  type 
)
BOOL SHARED_EXPORT uModifyMenu ( HMENU  menu,
UINT  id,
UINT  flags,
UINT  newitem,
const char *  data 
)
BOOL SHARED_EXPORT uMoveFile ( const char *  src,
const char *  dst 
)
void SHARED_EXPORT uOutputDebugString ( const char *  msg)
t_size SHARED_EXPORT uPrintCrashInfo ( LPEXCEPTION_POINTERS  param,
const char *  extrainfo,
char *  out 
)
void SHARED_EXPORT uPrintCrashInfo_AddEnvironmentInfo ( const char *  p_info)
void SHARED_EXPORT uPrintCrashInfo_Init ( const char *  name)
void SHARED_EXPORT uPrintCrashInfo_OnEvent ( const char *  message,
t_size  length 
)
void SHARED_EXPORT uPrintCrashInfo_SetComponentList ( const char *  p_info)
void SHARED_EXPORT uPrintCrashInfo_SetDumpPath ( const char *  name)
static void uPrintf ( pfc::string_base out,
const char *  fmt,
  ... 
)
inlinestatic

Definition at line 243 of file shared.h.

243 {va_list list;va_start(list,fmt);uPrintfV(out,fmt,list);va_end(list);}
void SHARED_EXPORT uPrintfV(pfc::string_base &out, const char *fmt, va_list arglist)
void SHARED_EXPORT uPrintfV ( pfc::string_base out,
const char *  fmt,
va_list  arglist 
)
UINT SHARED_EXPORT uRegisterClipboardFormat ( const char *  name)
UINT SHARED_EXPORT uRegisterWindowMessage ( const char *  name)
BOOL SHARED_EXPORT uRemoveDirectory ( const char *  fn)
t_size uReplaceChar ( pfc::string_base out,
const char *  src,
t_size  src_len,
unsigned  c1,
unsigned  c2,
bool  casesens 
)
inline

Definition at line 394 of file shared.h.

395 {
396  out.reset();
397  return uReplaceCharAdd(out,src,src_len,c1,c2,casesens);
398 }
t_size SHARED_EXPORT uReplaceCharAdd(pfc::string_base &out, const char *src, t_size src_len, unsigned c1, unsigned c2, bool casesens)
t_size SHARED_EXPORT uReplaceCharAdd ( pfc::string_base out,
const char *  src,
t_size  src_len,
unsigned  c1,
unsigned  c2,
bool  casesens 
)
t_size uReplaceString ( pfc::string_base out,
const char *  src,
t_size  src_len,
const char *  s1,
t_size  len1,
const char *  s2,
t_size  len2,
bool  casesens 
)
inline

Definition at line 388 of file shared.h.

389 {
390  out.reset();
391  return uReplaceStringAdd(out,src,src_len,s1,len1,s2,len2,casesens);
392 }
t_size SHARED_EXPORT uReplaceStringAdd(pfc::string_base &out, const char *src, t_size src_len, const char *s1, t_size len1, const char *s2, t_size len2, bool casesens)
t_size SHARED_EXPORT uReplaceStringAdd ( pfc::string_base out,
const char *  src,
t_size  src_len,
const char *  s1,
t_size  len1,
const char *  s2,
t_size  len2,
bool  casesens 
)
BOOL SHARED_EXPORT uSearchPath ( const char *  path,
const char *  filename,
const char *  extension,
pfc::string_base p_out 
)
LRESULT SHARED_EXPORT uSendDlgItemMessageText ( HWND  wnd,
UINT  id,
UINT  msg,
WPARAM  wp,
const char *  text 
)
LRESULT SHARED_EXPORT uSendMessageText ( HWND  wnd,
UINT  msg,
WPARAM  wp,
const char *  text 
)
BOOL SHARED_EXPORT uSetClipboardRawData ( UINT  format,
const void *  ptr,
t_size  size 
)
BOOL SHARED_EXPORT uSetClipboardString ( const char *  ptr)
BOOL SHARED_EXPORT uSetCurrentDirectory ( const char *  path)
BOOL SHARED_EXPORT uSetDlgItemText ( HWND  wnd,
UINT  id,
const char *  p_text 
)
BOOL SHARED_EXPORT uSetDlgItemTextEx ( HWND  wnd,
UINT  id,
const char *  p_text,
unsigned  p_text_length 
)
BOOL SHARED_EXPORT uSetWindowText ( HWND  wnd,
const char *  p_text 
)
BOOL SHARED_EXPORT uSetWindowTextEx ( HWND  wnd,
const char *  p_text,
unsigned  p_text_length 
)
HINSTANCE SHARED_EXPORT uShellExecute ( HWND  wnd,
const char *  oper,
const char *  file,
const char *  params,
const char *  dir,
int  cmd 
)
BOOL SHARED_EXPORT uShellNotifyIcon ( DWORD  dwMessage,
HWND  wnd,
UINT  id,
UINT  callbackmsg,
HICON  icon,
const char *  tip 
)
BOOL SHARED_EXPORT uShellNotifyIconEx ( DWORD  dwMessage,
HWND  wnd,
UINT  id,
UINT  callbackmsg,
HICON  icon,
const char *  tip,
const char *  balloon_title,
const char *  balloon_msg 
)
int SHARED_EXPORT uSortPathCompare ( HANDLE  string1,
HANDLE  string2 
)
int SHARED_EXPORT uSortStringCompare ( HANDLE  string1,
HANDLE  string2 
)
int SHARED_EXPORT uSortStringCompareEx ( HANDLE  string1,
HANDLE  string2,
DWORD  flags 
)
HANDLE SHARED_EXPORT uSortStringCreate ( const char *  src)
void SHARED_EXPORT uSortStringFree ( HANDLE  string)
int SHARED_EXPORT uStringCompare ( const char *  elem1,
const char *  elem2 
)
int SHARED_EXPORT uStringCompare_ConvertNumbers ( const char *  elem1,
const char *  elem2 
)
void uStringLower ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)
inline

Definition at line 385 of file shared.h.

385 {out.reset();uAddStringLower(out,src,len);}
void SHARED_EXPORT uAddStringLower(pfc::string_base &out, const char *src, t_size len=~0)
void uStringUpper ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)
inline

Definition at line 386 of file shared.h.

386 {out.reset();uAddStringUpper(out,src,len);}
void SHARED_EXPORT uAddStringUpper(pfc::string_base &out, const char *src, t_size len=~0)
int SHARED_EXPORT uTabCtrl_InsertItem ( HWND  wnd,
t_size  idx,
const uTCITEM item 
)
int SHARED_EXPORT uTabCtrl_SetItem ( HWND  wnd,
t_size  idx,
const uTCITEM item 
)
BOOL SHARED_EXPORT uTextOutColors ( HDC  dc,
const char *  src,
UINT  len,
int  x,
int  y,
const RECT *  clip,
BOOL  is_selected,
DWORD  default_color 
)
BOOL SHARED_EXPORT uTextOutColorsTabbed ( HDC  dc,
const char *  src,
UINT  src_len,
const RECT *  item,
int  border,
const RECT *  clip,
BOOL  selected,
DWORD  default_color,
BOOL  use_columns 
)
bool SHARED_EXPORT uTreeView_GetText ( HWND  wnd,
HTREEITEM  item,
pfc::string_base out 
)
LPARAM SHARED_EXPORT uTreeView_GetUserData ( HWND  wnd,
HTREEITEM  item 
)
HTREEITEM SHARED_EXPORT uTreeView_InsertItem ( HWND  wnd,
const uTVINSERTSTRUCT param 
)