Help for this page

Select Code to Download


  1. or download this
    =item C<typedef NAME, TYPE, MEMBER, TYPE, MEMBER, ...>
    
    ...
    
    die "usage Win32::API::Struct->typedef( NAME, [NON_POINTER_STRUCT_NAME
    +]
    | [TYPE, MEMBER, TYPE, MEMBER, ...])" if scalar(@_) % 2 == 1 && scalar
    +(@_) != 3; #or approx that, didn't run it
    
  2. or download this
    ::Struct::typedef unchanged
    ::Struct::make_pointer($name, $existing_struct); # named after an exis
    +ting private api sub in Win32::API (is_pointer)
    #or decl_pointer instead of make_pointer?
    #someone might think make_pointer returns an IV to the packed struct i
    +nstance.
    
  3. or download this
    ::Struct::typedef unchanged
    $ret_bool = Win32::API::Struct::is_pointer($name [, $set_bool]) #name 
    +after private api in Win32::API::Type, proto is different though
    
  4. or download this
    typedef struct pvalueW {           // Provider supplied value/context.
        LPWSTR  pv_valuename;          // The value name pointer
    ...
        LPVOID pv_value_context;
        DWORD pv_type;
    }PVALUEW, FAR *PPVALUEW;