| Win32-API documentation | view source | Contained in the Win32-API distribution. |
Win32::API::Type - C type support package for Win32::API
use Win32::API; Win32::API::Type->typedef( 'my_number', 'LONG' );
This module is a support package for Win32::API that implements C types for the import with prototype functionality.
See Win32::API for more info about its usage.
This module is automatically imported by Win32::API, so you don't need to 'use' it explicitly. These are the methods of this package:
typedef NAME, TYPEThis method defines a new type named NAME. This actually just
creates an alias for the already-defined type TYPE, which you
can use as a parameter in a Win32::API call.
sizeof TYPEThis returns the size, in bytes, of TYPE. Acts just like
the C function of the same name.
is_known TYPEReturns true if TYPE is known by Win32::API::Type, false
otherwise.
This module should recognize all the types defined in the
Win32 Platform SDK header files.
Please see the source for this module, in the __DATA__ section,
for the full list.
Aldo Calpini ( dada@perl.it ).
Cosimo Streppone ( cosimo@cpan.org ).
| Win32-API documentation | view source | Contained in the Win32-API distribution. |