shared.h File Reference

#include "../../pfc/pfc.h"
#include <windows.h>
#include <ddeml.h>
#include <commctrl.h>
#include "audio_math.h"
#include "win32_misc.h"

Go to the source code of this file.

Namespaces

namespace  pfc

Classes

class  uGetOpenFileNameMultiResult
class  uFindFile
class  uResource
class  string_utf8_from_window
class  critical_section
class  c_insync
class  critical_section2
class  c_insync2
class  uStringPrintf
class  uCallStackTracker
class  pfc::formatBugCheck
class  pfc::exception_bug_check_v2
class  comparator_stricmp_utf8
class  string_lower
class  string_upper
struct  t_font_description
struct  t_modal_dialog_entry
class  modal_dialog_scope
 The purpose of modal_dialog_scope is to help to avoid the modal dialog recursion problem. Current toplevel modal dialog handle is stored globally, so when creation of a new modal dialog is blocked, it can be activated to indicate the reason for the task being blocked. More...
class  format_win32_error
struct  exception_win32
class  uDebugLog
class  CClipboardOpenScope
class  CGlobalLockScope
class  CGlobalLockScopeT< TItem >
class  CoTaskMemObject< TPtr >

Defines

#define NOTHROW
#define SHARED_API   /*NOTHROW*/ __stdcall
#define SHARED_EXPORT   __declspec(dllimport) SHARED_API
#define IsUnicode()   0
#define uDdeFreeStringHandle   DdeFreeStringHandle
#define uDdeCmpStringHandles   DdeCmpStringHandles
#define uDdeKeepStringHandle   DdeKeepStringHandle
#define uDdeUninitialize   DdeUninitialize
#define uDdeNameService   DdeNameService
#define uDdeFreeDataHandle   DdeFreeDataHandle
#define uSetWindowsHookEx   SetWindowsHookEx
#define uUnhookWindowsHookEx   UnhookWindowsHookEx
#define uCallNextHookEx   CallNextHookEx
#define uMAKEINTRESOURCE(x)   ((const char*)LOWORD(x))
#define insync(X)   c_insync blah____sync(X)
#define insync2(X)   c_insync2 blah____sync2(X)
#define uIsDialogMessage   IsDialogMessage
#define uGetMessage   GetMessage
#define uPeekMessage   PeekMessage
#define uDispatchMessage   DispatchMessage
#define uCallWindowProc   CallWindowProc
#define uDefWindowProc   DefWindowProc
#define uGetWindowLong   GetWindowLong
#define uSetWindowLong   SetWindowLong
#define uEndDialog   EndDialog
#define uDestroyWindow   DestroyWindow
#define uGetDlgItem   GetDlgItem
#define uEnableWindow   EnableWindow
#define uGetDlgItemInt   GetDlgItemInt
#define uSetDlgItemInt   SetDlgItemInt
#define _uHookWindowProc(WND, PROC)   ((WNDPROC)SetWindowLongPtr(WND,GWLP_WNDPROC,(LONG_PTR)(PROC)))
#define uSendMessage   SendMessage
#define uSendDlgItemMessage   SendDlgItemMessage
#define uSendMessageTimeout   SendMessageTimeout
#define uSendNotifyMessage   SendNotifyMessage
#define uSendMessageCallback   SendMessageCallback
#define uPostMessage   PostMessage
#define uPostThreadMessage   PostThreadMessage
#define TRACK_CALL(X)   uCallStackTracker TRACKER__##X(#X)
#define TRACK_CALL_TEXT(X)   uCallStackTracker TRACKER__BLAH(X)
#define TRACK_CODE(description, code)   {uCallStackTracker __call_tracker(description); code;}

Typedefs

typedef
uGetOpenFileNameMultiResult
puGetOpenFileNameMultiResult
typedef uFindFilepuFindFile
typedef TVINSERTSTRUCTA uTVINSERTSTRUCT
typedef TCITEMA uTCITEM
typedef uResourcepuResource

Enumerations

enum  { uPrintCrashInfo_max_length = 1024 }

Functions

LRESULT __stdcall uSendMessageText (HWND wnd, UINT msg, WPARAM wp, const char *text)
LRESULT __stdcall uSendDlgItemMessageText (HWND wnd, UINT id, UINT msg, WPARAM wp, const char *text)
BOOL __stdcall uGetWindowText (HWND wnd, pfc::string_base &out)
BOOL __stdcall uSetWindowText (HWND wnd, const char *p_text)
BOOL __stdcall uSetWindowTextEx (HWND wnd, const char *p_text, unsigned p_text_length)
BOOL __stdcall uGetDlgItemText (HWND wnd, UINT id, pfc::string_base &out)
BOOL __stdcall uSetDlgItemText (HWND wnd, UINT id, const char *p_text)
BOOL __stdcall uSetDlgItemTextEx (HWND wnd, UINT id, const char *p_text, unsigned p_text_length)
BOOL __stdcall uBrowseForFolder (HWND parent, const char *title, pfc::string_base &out)
BOOL __stdcall uBrowseForFolderWithFile (HWND parent, const char *title, pfc::string_base &out, const char *p_file_to_find)
int __stdcall uMessageBox (HWND wnd, const char *text, const char *caption, UINT type)
void __stdcall uOutputDebugString (const char *msg)
BOOL __stdcall uAppendMenu (HMENU menu, UINT flags, UINT_PTR id, const char *content)
BOOL __stdcall uInsertMenu (HMENU menu, UINT position, UINT flags, UINT_PTR id, const char *content)
int __stdcall uStringCompare (const char *elem1, const char *elem2)
int __stdcall uCharCompare (t_uint32 p_char1, t_uint32 p_char2)
int __stdcall uStringCompare_ConvertNumbers (const char *elem1, const char *elem2)
HINSTANCE __stdcall uLoadLibrary (const char *name)
HANDLE __stdcall uCreateEvent (LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, const char *lpName)
DWORD __stdcall uGetModuleFileName (HMODULE hMod, pfc::string_base &out)
BOOL __stdcall uSetClipboardString (const char *ptr)
BOOL __stdcall uGetClipboardString (pfc::string_base &out)
BOOL __stdcall uSetClipboardRawData (UINT format, const void *ptr, t_size size)
BOOL __stdcall uGetClassName (HWND wnd, pfc::string_base &out)
t_size __stdcall uCharLength (const char *src)
BOOL __stdcall uDragQueryFile (HDROP hDrop, UINT idx, pfc::string_base &out)
UINT __stdcall uDragQueryFileCount (HDROP hDrop)
BOOL __stdcall uGetTextExtentPoint32 (HDC dc, const char *text, UINT cb, LPSIZE size)
BOOL __stdcall uExtTextOut (HDC dc, int x, int y, UINT flags, const RECT *rect, const char *text, UINT cb, const int *lpdx)
BOOL __stdcall uTextOutColors (HDC dc, const char *src, UINT len, int x, int y, const RECT *clip, BOOL is_selected, DWORD default_color)
BOOL __stdcall 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)
UINT __stdcall uGetTextHeight (HDC dc)
UINT __stdcall uGetFontHeight (HFONT font)
BOOL __stdcall uChooseColor (DWORD *p_color, HWND parent, DWORD *p_custom_colors)
HCURSOR __stdcall uLoadCursor (HINSTANCE hIns, const char *name)
HICON __stdcall uLoadIcon (HINSTANCE hIns, const char *name)
HMENU __stdcall uLoadMenu (HINSTANCE hIns, const char *name)
BOOL __stdcall uGetEnvironmentVariable (const char *name, pfc::string_base &out)
HMODULE __stdcall uGetModuleHandle (const char *name)
UINT __stdcall uRegisterWindowMessage (const char *name)
BOOL __stdcall uMoveFile (const char *src, const char *dst)
BOOL __stdcall uDeleteFile (const char *fn)
DWORD __stdcall uGetFileAttributes (const char *fn)
BOOL __stdcall uFileExists (const char *fn)
BOOL __stdcall uRemoveDirectory (const char *fn)
HANDLE __stdcall 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 __stdcall uCreateFileMapping (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, const char *lpName)
BOOL __stdcall uCreateDirectory (const char *fn, LPSECURITY_ATTRIBUTES blah)
HANDLE __stdcall uCreateMutex (LPSECURITY_ATTRIBUTES blah, BOOL bInitialOwner, const char *name)
BOOL __stdcall uGetLongPathName (const char *name, pfc::string_base &out)
BOOL __stdcall uGetFullPathName (const char *name, pfc::string_base &out)
BOOL __stdcall uSearchPath (const char *path, const char *filename, const char *extension, pfc::string_base &p_out)
BOOL __stdcall uFixPathCaps (const char *path, pfc::string_base &p_out)
void __stdcall uGetCommandLine (pfc::string_base &out)
BOOL __stdcall uGetTempPath (pfc::string_base &out)
BOOL __stdcall uGetTempFileName (const char *path_name, const char *prefix, UINT unique, pfc::string_base &out)
BOOL __stdcall 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)
HANDLE __stdcall uLoadImage (HINSTANCE hIns, const char *name, UINT type, int x, int y, UINT flags)
UINT __stdcall uRegisterClipboardFormat (const char *name)
BOOL __stdcall uGetClipboardFormatName (UINT format, pfc::string_base &out)
BOOL __stdcall uFormatSystemErrorMessage (pfc::string_base &p_out, DWORD p_code)
HANDLE __stdcall uSortStringCreate (const char *src)
int __stdcall uSortStringCompare (HANDLE string1, HANDLE string2)
int __stdcall uSortStringCompareEx (HANDLE string1, HANDLE string2, DWORD flags)
int __stdcall uSortPathCompare (HANDLE string1, HANDLE string2)
void __stdcall uSortStringFree (HANDLE string)
int __stdcall uCompareString (DWORD flags, const char *str1, unsigned len1, const char *str2, unsigned len2)
puGetOpenFileNameMultiResult
__stdcall 
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)
puFindFile __stdcall uFindFirstFile (const char *path)
HINSTANCE __stdcall uShellExecute (HWND wnd, const char *oper, const char *file, const char *params, const char *dir, int cmd)
HWND __stdcall uCreateStatusWindow (LONG style, const char *text, HWND parent, UINT id)
BOOL __stdcall uShellNotifyIcon (DWORD dwMessage, HWND wnd, UINT id, UINT callbackmsg, HICON icon, const char *tip)
BOOL __stdcall uShellNotifyIconEx (DWORD dwMessage, HWND wnd, UINT id, UINT callbackmsg, HICON icon, const char *tip, const char *balloon_title, const char *balloon_msg)
HWND __stdcall 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 __stdcall uGetSystemDirectory (pfc::string_base &out)
BOOL __stdcall uGetWindowsDirectory (pfc::string_base &out)
BOOL __stdcall uSetCurrentDirectory (const char *path)
BOOL __stdcall uGetCurrentDirectory (pfc::string_base &out)
BOOL __stdcall uExpandEnvironmentStrings (const char *src, pfc::string_base &out)
BOOL __stdcall uGetUserName (pfc::string_base &out)
BOOL __stdcall uGetShortPathName (const char *src, pfc::string_base &out)
HSZ __stdcall uDdeCreateStringHandle (DWORD ins, const char *src)
BOOL __stdcall uDdeQueryString (DWORD ins, HSZ hsz, pfc::string_base &out)
UINT __stdcall uDdeInitialize (LPDWORD pidInst, PFNCALLBACK pfnCallback, DWORD afCmd, DWORD ulRes)
BOOL __stdcall uDdeAccessData_Text (HDDEDATA data, pfc::string_base &out)
HIMAGELIST __stdcall uImageList_LoadImage (HINSTANCE hi, const char *lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags)
HTREEITEM __stdcall uTreeView_InsertItem (HWND wnd, const uTVINSERTSTRUCT *param)
LPARAM __stdcall uTreeView_GetUserData (HWND wnd, HTREEITEM item)
bool __stdcall uTreeView_GetText (HWND wnd, HTREEITEM item, pfc::string_base &out)
int __stdcall uTabCtrl_InsertItem (HWND wnd, t_size idx, const uTCITEM *item)
int __stdcall uTabCtrl_SetItem (HWND wnd, t_size idx, const uTCITEM *item)
int __stdcall uGetKeyNameText (LONG lparam, pfc::string_base &out)
void __stdcall uFixAmpersandChars (const char *src, pfc::string_base &out)
void __stdcall uFixAmpersandChars_v2 (const char *src, pfc::string_base &out)
t_size __stdcall uPrintCrashInfo (LPEXCEPTION_POINTERS param, const char *extrainfo, char *out)
void __stdcall uPrintCrashInfo_Init (const char *name)
void __stdcall uPrintCrashInfo_AddInfo (const char *p_info)
void __stdcall uPrintCrashInfo_SetDumpPath (const char *name)
void __stdcall uDumpCrashInfo (LPEXCEPTION_POINTERS param)
BOOL __stdcall uListBox_GetText (HWND listbox, UINT index, pfc::string_base &out)
void __stdcall uPrintfV (pfc::string_base &out, const char *fmt, va_list arglist)
static void uPrintf (pfc::string_base &out, const char *fmt,...)
puResource __stdcall uLoadResource (HMODULE hMod, const char *name, const char *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
puResource __stdcall LoadResourceEx (HMODULE hMod, const TCHAR *name, const TCHAR *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
HRSRC __stdcall uFindResource (HMODULE hMod, const char *name, const char *type, WORD wLang=MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL))
BOOL __stdcall uLoadString (HINSTANCE ins, UINT id, pfc::string_base &out)
UINT __stdcall uCharLower (UINT c)
UINT __stdcall uCharUpper (UINT c)
BOOL __stdcall uGetMenuString (HMENU menu, UINT id, pfc::string_base &out, UINT flag)
BOOL __stdcall uModifyMenu (HMENU menu, UINT id, UINT flags, UINT newitem, const char *data)
UINT __stdcall uGetMenuItemType (HMENU menu, UINT position)
char * uCharNext (char *src)
const char * uCharNext (const char *src)
static pfc::string uGetWindowText (HWND wnd)
static pfc::string uGetDlgItemText (HWND wnd, UINT id)
static WNDPROC uHookWindowProc (HWND p_wnd, WNDPROC p_proc)
LRESULT uButton_SetCheck (HWND wnd, UINT id, bool state)
bool uButton_GetCheck (HWND wnd, UINT id)
LPCSTR __stdcall uGetCallStackPath ()
int __stdcall stricmp_utf8 (const char *p1, const char *p2) throw ()
int __stdcall stricmp_utf8_ex (const char *p1, t_size len1, const char *p2, t_size len2) throw ()
int __stdcall stricmp_utf8_stringtoblock (const char *p1, const char *p2, t_size p2_bytes) throw ()
int __stdcall stricmp_utf8_partial (const char *p1, const char *p2, t_size num=~0) throw ()
int __stdcall stricmp_utf8_max (const char *p1, const char *p2, t_size p1_bytes) throw ()
t_size __stdcall 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 __stdcall uReplaceCharAdd (pfc::string_base &out, const char *src, t_size src_len, unsigned c1, unsigned c2, bool casesens)
void __stdcall uAddStringLower (pfc::string_base &out, const char *src, t_size len=~0)
void __stdcall uAddStringUpper (pfc::string_base &out, const char *src, t_size len=~0)
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)
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 uReplaceChar (pfc::string_base &out, const char *src, t_size src_len, unsigned c1, unsigned c2, bool casesens)
BOOL uGetLongPathNameEx (const char *name, pfc::string_base &out)
void __stdcall ModalDialog_Switch (t_modal_dialog_entry &p_entry)
void __stdcall ModalDialog_PokeExisting ()
bool __stdcall ModalDialog_CanCreateNew ()
HWND __stdcall FindOwningPopup (HWND p_wnd)
void __stdcall PokeWindow (HWND p_wnd)
static void uAddWindowStyle (HWND p_wnd, LONG p_style)
static void uRemoveWindowStyle (HWND p_wnd, LONG p_style)
static void uAddWindowExStyle (HWND p_wnd, LONG p_style)
static void uRemoveWindowExStyle (HWND p_wnd, LONG p_style)
static unsigned MapDialogWidth (HWND p_dialog, unsigned p_value)
static bool IsKeyPressed (unsigned vk)
static unsigned GetHotkeyModifierFlags ()
 Returns current modifier keys pressed, using win32 MOD_* flags.
static bool IsPointInsideControl (const POINT &pt, HWND wnd)
static bool IsWindowChildOf (HWND child, HWND parent)


Define Documentation

#define _uHookWindowProc ( WND,
PROC   )     ((WNDPROC)SetWindowLongPtr(WND,GWLP_WNDPROC,(LONG_PTR)(PROC)))

#define insync (  )     c_insync blah____sync(X)

#define insync2 (  )     c_insync2 blah____sync2(X)

 
#define IsUnicode (  )     0

#define NOTHROW

#define SHARED_API   /*NOTHROW*/ __stdcall

#define SHARED_EXPORT   __declspec(dllimport) SHARED_API

#define TRACK_CALL (  )     uCallStackTracker TRACKER__##X(#X)

#define TRACK_CALL_TEXT (  )     uCallStackTracker TRACKER__BLAH(X)

#define TRACK_CODE ( description,
code   )     {uCallStackTracker __call_tracker(description); code;}

#define uCallNextHookEx   CallNextHookEx

#define uCallWindowProc   CallWindowProc

#define uDdeCmpStringHandles   DdeCmpStringHandles

#define uDdeFreeDataHandle   DdeFreeDataHandle

#define uDdeFreeStringHandle   DdeFreeStringHandle

#define uDdeKeepStringHandle   DdeKeepStringHandle

#define uDdeNameService   DdeNameService

#define uDdeUninitialize   DdeUninitialize

#define uDefWindowProc   DefWindowProc

#define uDestroyWindow   DestroyWindow

#define uDispatchMessage   DispatchMessage

#define uEnableWindow   EnableWindow

#define uEndDialog   EndDialog

#define uGetDlgItem   GetDlgItem

#define uGetDlgItemInt   GetDlgItemInt

#define uGetMessage   GetMessage

#define uGetWindowLong   GetWindowLong

#define uIsDialogMessage   IsDialogMessage

#define uMAKEINTRESOURCE (  )     ((const char*)LOWORD(x))

#define uPeekMessage   PeekMessage

#define uPostMessage   PostMessage

#define uPostThreadMessage   PostThreadMessage

#define uSendDlgItemMessage   SendDlgItemMessage

#define uSendMessage   SendMessage

#define uSendMessageCallback   SendMessageCallback

#define uSendMessageTimeout   SendMessageTimeout

#define uSendNotifyMessage   SendNotifyMessage

#define uSetDlgItemInt   SetDlgItemInt

#define uSetWindowLong   SetWindowLong

#define uSetWindowsHookEx   SetWindowsHookEx

#define uUnhookWindowsHookEx   UnhookWindowsHookEx


Typedef Documentation

typedef TCITEMA uTCITEM

typedef TVINSERTSTRUCTA uTVINSERTSTRUCT


Enumeration Type Documentation

anonymous enum

Enumerator:
uPrintCrashInfo_max_length 


Function Documentation

HWND __stdcall FindOwningPopup ( HWND  p_wnd  ) 

static unsigned GetHotkeyModifierFlags (  )  [static]

Returns current modifier keys pressed, using win32 MOD_* flags.

static bool IsKeyPressed ( unsigned  vk  )  [static]

static bool IsPointInsideControl ( const POINT &  pt,
HWND  wnd 
) [static]

static bool IsWindowChildOf ( HWND  child,
HWND  parent 
) [static]

puResource __stdcall LoadResourceEx ( HMODULE  hMod,
const TCHAR *  name,
const TCHAR *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)

static unsigned MapDialogWidth ( HWND  p_dialog,
unsigned  p_value 
) [static]

bool __stdcall ModalDialog_CanCreateNew (  ) 

void __stdcall ModalDialog_PokeExisting (  ) 

void __stdcall ModalDialog_Switch ( t_modal_dialog_entry p_entry  ) 

void __stdcall PokeWindow ( HWND  p_wnd  ) 

int __stdcall stricmp_utf8 ( const char *  p1,
const char *  p2 
) throw ()

int __stdcall stricmp_utf8_ex ( const char *  p1,
t_size  len1,
const char *  p2,
t_size  len2 
) throw ()

int __stdcall stricmp_utf8_max ( const char *  p1,
const char *  p2,
t_size  p1_bytes 
) throw ()

int __stdcall stricmp_utf8_partial ( const char *  p1,
const char *  p2,
t_size  num = ~0 
) throw ()

int __stdcall stricmp_utf8_stringtoblock ( const char *  p1,
const char *  p2,
t_size  p2_bytes 
) throw ()

void __stdcall uAddStringLower ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)

void __stdcall uAddStringUpper ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
)

static void uAddWindowExStyle ( HWND  p_wnd,
LONG  p_style 
) [static]

static void uAddWindowStyle ( HWND  p_wnd,
LONG  p_style 
) [static]

BOOL __stdcall uAppendMenu ( HMENU  menu,
UINT  flags,
UINT_PTR  id,
const char *  content 
)

BOOL __stdcall uBrowseForFolder ( HWND  parent,
const char *  title,
pfc::string_base out 
)

BOOL __stdcall uBrowseForFolderWithFile ( HWND  parent,
const char *  title,
pfc::string_base out,
const char *  p_file_to_find 
)

bool uButton_GetCheck ( HWND  wnd,
UINT  id 
) [inline]

LRESULT uButton_SetCheck ( HWND  wnd,
UINT  id,
bool  state 
) [inline]

int __stdcall uCharCompare ( t_uint32  p_char1,
t_uint32  p_char2 
)

t_size __stdcall uCharLength ( const char *  src  ) 

UINT __stdcall uCharLower ( UINT  c  ) 

const char* uCharNext ( const char *  src  )  [inline]

char* uCharNext ( char *  src  )  [inline]

UINT __stdcall uCharUpper ( UINT  c  ) 

BOOL __stdcall uChooseColor ( DWORD *  p_color,
HWND  parent,
DWORD *  p_custom_colors 
)

int __stdcall uCompareString ( DWORD  flags,
const char *  str1,
unsigned  len1,
const char *  str2,
unsigned  len2 
)

BOOL __stdcall uCreateDirectory ( const char *  fn,
LPSECURITY_ATTRIBUTES  blah 
)

HANDLE __stdcall uCreateEvent ( LPSECURITY_ATTRIBUTES  lpEventAttributes,
BOOL  bManualReset,
BOOL  bInitialState,
const char *  lpName 
)

HANDLE __stdcall 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 __stdcall uCreateFileMapping ( HANDLE  hFile,
LPSECURITY_ATTRIBUTES  lpFileMappingAttributes,
DWORD  flProtect,
DWORD  dwMaximumSizeHigh,
DWORD  dwMaximumSizeLow,
const char *  lpName 
)

HANDLE __stdcall uCreateMutex ( LPSECURITY_ATTRIBUTES  blah,
BOOL  bInitialOwner,
const char *  name 
)

HWND __stdcall uCreateStatusWindow ( LONG  style,
const char *  text,
HWND  parent,
UINT  id 
)

HWND __stdcall 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 __stdcall uDdeAccessData_Text ( HDDEDATA  data,
pfc::string_base out 
)

HSZ __stdcall uDdeCreateStringHandle ( DWORD  ins,
const char *  src 
)

UINT __stdcall uDdeInitialize ( LPDWORD  pidInst,
PFNCALLBACK  pfnCallback,
DWORD  afCmd,
DWORD  ulRes 
)

BOOL __stdcall uDdeQueryString ( DWORD  ins,
HSZ  hsz,
pfc::string_base out 
)

BOOL __stdcall uDeleteFile ( const char *  fn  ) 

BOOL __stdcall uDragQueryFile ( HDROP  hDrop,
UINT  idx,
pfc::string_base out 
)

UINT __stdcall uDragQueryFileCount ( HDROP  hDrop  ) 

void __stdcall uDumpCrashInfo ( LPEXCEPTION_POINTERS  param  ) 

BOOL __stdcall uExpandEnvironmentStrings ( const char *  src,
pfc::string_base out 
)

BOOL __stdcall uExtTextOut ( HDC  dc,
int  x,
int  y,
UINT  flags,
const RECT *  rect,
const char *  text,
UINT  cb,
const int *  lpdx 
)

BOOL __stdcall uFileExists ( const char *  fn  ) 

puFindFile __stdcall uFindFirstFile ( const char *  path  ) 

HRSRC __stdcall uFindResource ( HMODULE  hMod,
const char *  name,
const char *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)

void __stdcall uFixAmpersandChars ( const char *  src,
pfc::string_base out 
)

void __stdcall uFixAmpersandChars_v2 ( const char *  src,
pfc::string_base out 
)

BOOL __stdcall uFixPathCaps ( const char *  path,
pfc::string_base p_out 
)

BOOL __stdcall uFormatSystemErrorMessage ( pfc::string_base p_out,
DWORD  p_code 
)

LPCSTR __stdcall uGetCallStackPath (  ) 

BOOL __stdcall uGetClassName ( HWND  wnd,
pfc::string_base out 
)

BOOL __stdcall uGetClipboardFormatName ( UINT  format,
pfc::string_base out 
)

BOOL __stdcall uGetClipboardString ( pfc::string_base out  ) 

void __stdcall uGetCommandLine ( pfc::string_base out  ) 

BOOL __stdcall uGetCurrentDirectory ( pfc::string_base out  ) 

static pfc::string uGetDlgItemText ( HWND  wnd,
UINT  id 
) [static]

BOOL __stdcall uGetDlgItemText ( HWND  wnd,
UINT  id,
pfc::string_base out 
)

BOOL __stdcall uGetEnvironmentVariable ( const char *  name,
pfc::string_base out 
)

DWORD __stdcall uGetFileAttributes ( const char *  fn  ) 

UINT __stdcall uGetFontHeight ( HFONT  font  ) 

BOOL __stdcall uGetFullPathName ( const char *  name,
pfc::string_base out 
)

int __stdcall uGetKeyNameText ( LONG  lparam,
pfc::string_base out 
)

BOOL __stdcall uGetLongPathName ( const char *  name,
pfc::string_base out 
)

BOOL uGetLongPathNameEx ( const char *  name,
pfc::string_base out 
) [inline]

UINT __stdcall uGetMenuItemType ( HMENU  menu,
UINT  position 
)

BOOL __stdcall uGetMenuString ( HMENU  menu,
UINT  id,
pfc::string_base out,
UINT  flag 
)

DWORD __stdcall uGetModuleFileName ( HMODULE  hMod,
pfc::string_base out 
)

HMODULE __stdcall uGetModuleHandle ( const char *  name  ) 

BOOL __stdcall 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 __stdcall 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 __stdcall uGetShortPathName ( const char *  src,
pfc::string_base out 
)

BOOL __stdcall uGetSystemDirectory ( pfc::string_base out  ) 

BOOL __stdcall uGetTempFileName ( const char *  path_name,
const char *  prefix,
UINT  unique,
pfc::string_base out 
)

BOOL __stdcall uGetTempPath ( pfc::string_base out  ) 

BOOL __stdcall uGetTextExtentPoint32 ( HDC  dc,
const char *  text,
UINT  cb,
LPSIZE  size 
)

UINT __stdcall uGetTextHeight ( HDC  dc  ) 

BOOL __stdcall uGetUserName ( pfc::string_base out  ) 

BOOL __stdcall uGetWindowsDirectory ( pfc::string_base out  ) 

static pfc::string uGetWindowText ( HWND  wnd  )  [static]

BOOL __stdcall uGetWindowText ( HWND  wnd,
pfc::string_base out 
)

static WNDPROC uHookWindowProc ( HWND  p_wnd,
WNDPROC  p_proc 
) [static]

HIMAGELIST __stdcall uImageList_LoadImage ( HINSTANCE  hi,
const char *  lpbmp,
int  cx,
int  cGrow,
COLORREF  crMask,
UINT  uType,
UINT  uFlags 
)

BOOL __stdcall uInsertMenu ( HMENU  menu,
UINT  position,
UINT  flags,
UINT_PTR  id,
const char *  content 
)

BOOL __stdcall uListBox_GetText ( HWND  listbox,
UINT  index,
pfc::string_base out 
)

HCURSOR __stdcall uLoadCursor ( HINSTANCE  hIns,
const char *  name 
)

HICON __stdcall uLoadIcon ( HINSTANCE  hIns,
const char *  name 
)

HANDLE __stdcall uLoadImage ( HINSTANCE  hIns,
const char *  name,
UINT  type,
int  x,
int  y,
UINT  flags 
)

HINSTANCE __stdcall uLoadLibrary ( const char *  name  ) 

HMENU __stdcall uLoadMenu ( HINSTANCE  hIns,
const char *  name 
)

puResource __stdcall uLoadResource ( HMODULE  hMod,
const char *  name,
const char *  type,
WORD  wLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) 
)

BOOL __stdcall uLoadString ( HINSTANCE  ins,
UINT  id,
pfc::string_base out 
)

int __stdcall uMessageBox ( HWND  wnd,
const char *  text,
const char *  caption,
UINT  type 
)

BOOL __stdcall uModifyMenu ( HMENU  menu,
UINT  id,
UINT  flags,
UINT  newitem,
const char *  data 
)

BOOL __stdcall uMoveFile ( const char *  src,
const char *  dst 
)

void __stdcall uOutputDebugString ( const char *  msg  ) 

t_size __stdcall uPrintCrashInfo ( LPEXCEPTION_POINTERS  param,
const char *  extrainfo,
char *  out 
)

void __stdcall uPrintCrashInfo_AddInfo ( const char *  p_info  ) 

void __stdcall uPrintCrashInfo_Init ( const char *  name  ) 

void __stdcall uPrintCrashInfo_SetDumpPath ( const char *  name  ) 

static void uPrintf ( pfc::string_base out,
const char *  fmt,
  ... 
) [inline, static]

void __stdcall uPrintfV ( pfc::string_base out,
const char *  fmt,
va_list  arglist 
)

UINT __stdcall uRegisterClipboardFormat ( const char *  name  ) 

UINT __stdcall uRegisterWindowMessage ( const char *  name  ) 

BOOL __stdcall uRemoveDirectory ( const char *  fn  ) 

static void uRemoveWindowExStyle ( HWND  p_wnd,
LONG  p_style 
) [static]

static void uRemoveWindowStyle ( HWND  p_wnd,
LONG  p_style 
) [static]

t_size uReplaceChar ( pfc::string_base out,
const char *  src,
t_size  src_len,
unsigned  c1,
unsigned  c2,
bool  casesens 
) [inline]

t_size __stdcall 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]

t_size __stdcall 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 __stdcall uSearchPath ( const char *  path,
const char *  filename,
const char *  extension,
pfc::string_base p_out 
)

LRESULT __stdcall uSendDlgItemMessageText ( HWND  wnd,
UINT  id,
UINT  msg,
WPARAM  wp,
const char *  text 
)

LRESULT __stdcall uSendMessageText ( HWND  wnd,
UINT  msg,
WPARAM  wp,
const char *  text 
)

BOOL __stdcall uSetClipboardRawData ( UINT  format,
const void *  ptr,
t_size  size 
)

BOOL __stdcall uSetClipboardString ( const char *  ptr  ) 

BOOL __stdcall uSetCurrentDirectory ( const char *  path  ) 

BOOL __stdcall uSetDlgItemText ( HWND  wnd,
UINT  id,
const char *  p_text 
)

BOOL __stdcall uSetDlgItemTextEx ( HWND  wnd,
UINT  id,
const char *  p_text,
unsigned  p_text_length 
)

BOOL __stdcall uSetWindowText ( HWND  wnd,
const char *  p_text 
)

BOOL __stdcall uSetWindowTextEx ( HWND  wnd,
const char *  p_text,
unsigned  p_text_length 
)

HINSTANCE __stdcall uShellExecute ( HWND  wnd,
const char *  oper,
const char *  file,
const char *  params,
const char *  dir,
int  cmd 
)

BOOL __stdcall uShellNotifyIcon ( DWORD  dwMessage,
HWND  wnd,
UINT  id,
UINT  callbackmsg,
HICON  icon,
const char *  tip 
)

BOOL __stdcall uShellNotifyIconEx ( DWORD  dwMessage,
HWND  wnd,
UINT  id,
UINT  callbackmsg,
HICON  icon,
const char *  tip,
const char *  balloon_title,
const char *  balloon_msg 
)

int __stdcall uSortPathCompare ( HANDLE  string1,
HANDLE  string2 
)

int __stdcall uSortStringCompare ( HANDLE  string1,
HANDLE  string2 
)

int __stdcall uSortStringCompareEx ( HANDLE  string1,
HANDLE  string2,
DWORD  flags 
)

HANDLE __stdcall uSortStringCreate ( const char *  src  ) 

void __stdcall uSortStringFree ( HANDLE  string  ) 

int __stdcall uStringCompare ( const char *  elem1,
const char *  elem2 
)

int __stdcall uStringCompare_ConvertNumbers ( const char *  elem1,
const char *  elem2 
)

void uStringLower ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
) [inline]

void uStringUpper ( pfc::string_base out,
const char *  src,
t_size  len = ~0 
) [inline]

int __stdcall uTabCtrl_InsertItem ( HWND  wnd,
t_size  idx,
const uTCITEM item 
)

int __stdcall uTabCtrl_SetItem ( HWND  wnd,
t_size  idx,
const uTCITEM item 
)

BOOL __stdcall uTextOutColors ( HDC  dc,
const char *  src,
UINT  len,
int  x,
int  y,
const RECT *  clip,
BOOL  is_selected,
DWORD  default_color 
)

BOOL __stdcall 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 __stdcall uTreeView_GetText ( HWND  wnd,
HTREEITEM  item,
pfc::string_base out 
)

LPARAM __stdcall uTreeView_GetUserData ( HWND  wnd,
HTREEITEM  item 
)

HTREEITEM __stdcall uTreeView_InsertItem ( HWND  wnd,
const uTVINSERTSTRUCT param 
)


Generated on Thu Aug 28 21:15:39 2008 for foobar2000 SDK by  doxygen 1.5.5