Back to index

python3.2  3.2.2
Public Member Functions
ctypes.test.test_win32.TestWintypes Class Reference

List of all members.

Public Member Functions

def test_HWND
def test_PARAM
def test_COMError

Detailed Description

Definition at line 49 of file test_win32.py.


Member Function Documentation

Definition at line 61 of file test_win32.py.

00061 
00062         def test_COMError(self):
00063             from _ctypes import COMError
00064             self.assertEqual(COMError.__doc__, "Raised when a COM method call failed.")
00065 
00066             ex = COMError(-1, "text", ("details",))
00067             self.assertEqual(ex.hresult, -1)
00068             self.assertEqual(ex.text, "text")
00069             self.assertEqual(ex.details, ("details",))

Here is the call graph for this function:

Definition at line 50 of file test_win32.py.

00050 
00051         def test_HWND(self):
00052             from ctypes import wintypes
00053             self.assertEqual(sizeof(wintypes.HWND), sizeof(c_void_p))

Here is the call graph for this function:

Definition at line 54 of file test_win32.py.

00054 
00055         def test_PARAM(self):
00056             from ctypes import wintypes
00057             self.assertEqual(sizeof(wintypes.WPARAM),
00058                                  sizeof(c_void_p))
00059             self.assertEqual(sizeof(wintypes.LPARAM),
00060                                  sizeof(c_void_p))

Here is the call graph for this function:


The documentation for this class was generated from the following file: