Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: pack()ing Win32 Structures

by JayBonci (Curate)
on May 06, 2002 at 01:58 UTC ( #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
Node Status?
node history
Node Type: note [id://164205]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2021-04-15 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?