Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: pack()ing Win32 Structures

by JayBonci (Curate)
on May 06, 2002 at 01:58 UTC ( [id://164205]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    typedef struct _TIME_ZONE_INFORMATION { 
        LONG       Bias; 
    ...
        SYSTEMTIME DaylightDate; 
        LONG       DaylightBias; 
    } TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION;
    
  2. or download this
    $tz_struct = pack("LU32S8LU32S8L", 0, " " x 32, 
        unpack("S8",$systime_struct),0, " " x 32, 
        unpack("S8",$systime_struct),0);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://164205]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found