ut_Win32Misc.cpp File Reference

#include "ut_misc.h"
#include <windows.h>
#include <winsock.h>
#include <snmp.h>
#include <nb30.h>
#include <stdio.h>
#include "ut_debugmsg.h"
#include "ut_Win32Resources.rc2"
#include "ut_Win32Timer.h"

Classes

struct  _ASTAT
class  UT_Win32AssertDlg

Defines

#define NO_MAC_ADDRESS

Typedefs

typedef struct _ASTAT ASTAT
typedef struct _ASTATPASTAT
typedef OUT HANDLE * hPollForTrapEvent
typedef OUT HANDLE OUT
AsnObjectIdentifier * 
supportedView
typedef IN OUT RFC1157VarBindList * variableBindings
typedef IN OUT
RFC1157VarBindList OUT
AsnInteger * 
errorStatus
typedef IN OUT
RFC1157VarBindList OUT
AsnInteger OUT AsnInteger * 
errorIndex
typedef AsnObjectIdentifier * ObjIdB
typedef AsnObjectIdentifier UINT Len
typedef AsnObjectIdentifier * SrcObjId
typedef LPWSADATA lpWSAData

Functions

void UT_gettimeofday (struct timeval *tv)
typedef BOOL (WINAPI *pSnmpExtensionInit)(IN DWORD dwTimeZeroReference
typedef VOID (WINAPI *pSnmpUtilVarBindFree)(RFC1157VarBind *VarBind)
typedef SNMPAPI (WINAPI *pSnmpUtilOidNCmp)(AsnObjectIdentifier *ObjIdA
typedef int (WINAPI *pWSAStartup)(WORD wVersionRequested
typedef UCHAR (WINAPI *pNetbios)(PNCB pncb)
bool UT_getEthernetAddress (UT_EthernetAddress &A)
int ABI_EXPORT UT_Win32ThrowAssert (const char *pCond, const char *pFile, int iLine, int iCount)

Define Documentation

#define NO_MAC_ADDRESS


Typedef Documentation

typedef struct _ASTAT ASTAT

typedef IN OUT RFC1157VarBindList OUT AsnInteger OUT AsnInteger* errorIndex

typedef IN OUT RFC1157VarBindList OUT AsnInteger* errorStatus

typedef OUT HANDLE* hPollForTrapEvent

typedef AsnObjectIdentifier UINT Len

typedef LPWSADATA lpWSAData

typedef AsnObjectIdentifier* ObjIdB

typedef struct _ASTAT * PASTAT

typedef AsnObjectIdentifier* SrcObjId

typedef OUT HANDLE OUT AsnObjectIdentifier* supportedView

typedef IN OUT RFC1157VarBindList* variableBindings


Function Documentation

typedef BOOL ( WINAPI *  pSnmpExtensionInit  ) 

typedef int ( WINAPI *  pWSAStartup  ) 

Referenced by AP_UnixDialog_InsertHyperlink::_constructWindowContents(), AP_Win32FrameImpl::_ContainerWndProc(), AP_CocoaDialog_Lists::_fillBulletedStyleMenu, AP_CocoaDialog_Lists::_fillNoneStyleMenu, AP_CocoaDialog_Lists::_fillNumberedStyleMenu, GR_Win32Graphics::_findFont(), EV_CocoaToolbar::_makeToolbarButton, XAP_CocoaDialog_Zoom::_populateWindowData, AP_CocoaDialog_FormatFrame::_populateWindowData, XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), GR_Win32USPGraphics::_setupFontOnDC(), IE_Exp_PDF::_writeDocument(), OO_StylesContainer::addFont(), OO_StylesContainer::addSpanStyle(), IE_Imp_Psion::applyStyles(), BNF_comma_wsp(), BNF_number(), BNF_wsp_star(), IE_ImpGraphic_WMF::convertGraphic(), AP_Win32Dialog_PageSetup_Margin::doSpinControl(), AP_Win32Dialog_PageSetup_Page::doSpinControl(), AP_Preview_PageNumbers::draw(), XAP_CocoaDialog_Zoom::event_Radio100Clicked, XAP_CocoaDialog_Zoom::event_Radio200Clicked, XAP_CocoaDialog_Zoom::event_Radio75Clicked, XAP_CocoaDialog_Zoom::event_RadioPageWidthClicked, XAP_CocoaDialog_Zoom::event_RadioWholePageClicked, XAP_CocoaDialog_Zoom::event_SpinPercentChanged, AP_CocoaDialog_Columns::event_Toggle(), IE_Imp_Psion::getCharacterAttributes(), XAP_CocoaFont::getCoverage(), IE_Imp_Psion::getParagraphAttributes(), getPTObjectTypeStr(), getPTStruxTypeStr(), getPXTypeStr(), AP_CocoaDialog_WordCount::getWidget, AP_CocoaTopRuler::getWidgetPosition(), AP_CocoaLeftRuler::getWidgetPosition(), GR_Win32Font::glyphBox(), GR_Win32Font::GR_Win32Font(), _rtf_font_info::init(), XAP_CocoaFontFamilyHelper::initWithFontFamilyName:known:, is_fd_uri(), XAP_CocoaModule::load(), GOComponentView::loadBuffer(), AP_CocoaDialog_Lists::loadXPDataIntoLocal, XAP_Win32AppImpl::openURL(), read_png_to_dib(), XAP_Module::registerThySelf(), XAP_CocoaDialog_FileOpenSaveAs::runModal, AP_CocoaDialog_InsertHyperlink::runModal, s_GetMenuItemComputedLabel_Fn(), s_GetMenuItemState_Fn(), s_LaTeX_Listener::s_LaTeX_Listener(), s_rgb_number(), GR_Caret::setBlink(), GR_Win32Graphics::startPage(), std_size_string(), XAP_Module::supportsAbiVersion(), XAP_CocoaDlg_Insert_SymbolController::tableView:objectValueForTableColumn:row:, XAP_Module::unregisterThySelf(), AP_Win32Dialog_PageSetup::updatePreview(), and XAP_CocoaDialog_Language_Controller::windowDidLoad.

typedef SNMPAPI ( WINAPI *  pSnmpUtilOidNCmp  ) 

typedef UCHAR ( WINAPI *  pNetbios  ) 

bool UT_getEthernetAddress ( UT_EthernetAddress A  ) 

retrieve the 6-byte address of the network card; returns true on success

References _ASTAT::adapt, name, UT_ASSERT, UT_DEBUGMSG, UT_NOT_IMPLEMENTED, UT_return_val_if_fail, and UT_UNUSED.

void UT_gettimeofday ( struct timeval *  tv  ) 

UT_gettimeofday() fills in the timeval structure with current time; the platform implementation needs to be as accurate as possible since this function is used in the UT_UUID class.

this implementation is from: http://bugzilla.vovida.org/bugzilla/show_bug.cgi?id=751

int ABI_EXPORT UT_Win32ThrowAssert ( const char *  pCond,
const char *  pFile,
int  iLine,
int  iCount 
)

This function wraps arround the Assert dialog class and handles the returned responses; it will abort application if the user chose Abort.

Returns:
: 0 -- give control to debugger > 0 ignore this time < 0 ignore always

References UT_Win32AssertDlg::AN_Abort, UT_Win32AssertDlg::AN_Debug, UT_Win32AssertDlg::AN_Ignore, UT_Win32AssertDlg::AN_IgnoreAll, and UT_Win32AssertDlg::runModal().

typedef VOID ( WINAPI *  pSnmpUtilVarBindFree  ) 


Generated on Tue Dec 2 00:06:36 2008 for AbiWord by  doxygen 1.5.5