com.jniwrapper.win32.ui.dialogs
Class ComDlg32

java.lang.Object
  extended by com.jniwrapper.util.FunctionCache
      extended by com.jniwrapper.win32.WinFunctionCache
          extended by com.jniwrapper.win32.ui.dialogs.ComDlg32

public class ComDlg32
extends WinFunctionCache

This class provides functions from comdlg32 library.


Field Summary
static int CDERR_FINDRESFAILURE
          The function failed to find a specified resource.
static int CDERR_GENERALCODES
           
static int CDERR_INITIALIZATION
          The dialog is failed during initialization.
static int CDERR_LOADRESFAILURE
          The function failed to load a specified resource.
static int CDERR_LOADSTRFAILURE
          The function function failed to load a specified string.
static int CDERR_LOCKRESFAILURE
          The function failed to lock a specified resource.
static int CDERR_MEMALLOCFAILURE
          The function was unable to allocate memory for internal structures.
static int CDERR_MEMLOCKFAILURE
          The function was unable to lock the memory associated with a handle.
static int CDERR_NOHINSTANCE
          The ENABLETEMPLATE flag was set but attepmt failed to provide a corresponding instance handle.
static int CDERR_NOHOOK
          The ENABLEHOOK flag was set but attempt failed to provide a pointer to a corresponding hook procedure.
static int CDERR_NOTEMPLATE
          The ENABLETEMPLATE flag was set but attepmt failed to provide a corresponding template.
static int CDERR_REGISTERMSGFAIL
          The RegisterWindowMessage function returned an error code when it was called by the function.
static int CDERR_STRUCTSIZE
          The lStructSize member of the initialization structure is invalid.
 
Method Summary
static long getCommDlgExtendedError()
          Method returns extnded error code.
static ComDlg32 getInstance()
           
 
Methods inherited from class com.jniwrapper.win32.WinFunctionCache
isUnicode, setUnicode, setupEncoding
 
Methods inherited from class com.jniwrapper.util.FunctionCache
getFunction, getVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CDERR_GENERALCODES

public static final int CDERR_GENERALCODES
See Also:
Constant Field Values

CDERR_STRUCTSIZE

public static final int CDERR_STRUCTSIZE
The lStructSize member of the initialization structure is invalid.

See Also:
Constant Field Values

CDERR_INITIALIZATION

public static final int CDERR_INITIALIZATION
The dialog is failed during initialization.

See Also:
Constant Field Values

CDERR_NOTEMPLATE

public static final int CDERR_NOTEMPLATE
The ENABLETEMPLATE flag was set but attepmt failed to provide a corresponding template.

See Also:
Constant Field Values

CDERR_NOHINSTANCE

public static final int CDERR_NOHINSTANCE
The ENABLETEMPLATE flag was set but attepmt failed to provide a corresponding instance handle.

See Also:
Constant Field Values

CDERR_LOADSTRFAILURE

public static final int CDERR_LOADSTRFAILURE
The function function failed to load a specified string.

See Also:
Constant Field Values

CDERR_FINDRESFAILURE

public static final int CDERR_FINDRESFAILURE
The function failed to find a specified resource.

See Also:
Constant Field Values

CDERR_LOADRESFAILURE

public static final int CDERR_LOADRESFAILURE
The function failed to load a specified resource.

See Also:
Constant Field Values

CDERR_LOCKRESFAILURE

public static final int CDERR_LOCKRESFAILURE
The function failed to lock a specified resource.

See Also:
Constant Field Values

CDERR_MEMALLOCFAILURE

public static final int CDERR_MEMALLOCFAILURE
The function was unable to allocate memory for internal structures.

See Also:
Constant Field Values

CDERR_MEMLOCKFAILURE

public static final int CDERR_MEMLOCKFAILURE
The function was unable to lock the memory associated with a handle.

See Also:
Constant Field Values

CDERR_NOHOOK

public static final int CDERR_NOHOOK
The ENABLEHOOK flag was set but attempt failed to provide a pointer to a corresponding hook procedure.

See Also:
Constant Field Values

CDERR_REGISTERMSGFAIL

public static final int CDERR_REGISTERMSGFAIL
The RegisterWindowMessage function returned an error code when it was called by the function.

See Also:
Constant Field Values
Method Detail

getInstance

public static ComDlg32 getInstance()

getCommDlgExtendedError

public static long getCommDlgExtendedError()
Method returns extnded error code.

Returns:
error code