Article View: borland.public.cppbuilder.nativeapi
Article #3080Re: Converting LARGE_INTEGER to Date/Time
From: Ed Mulroy
Date: Thu, 28 Sep 2006 13:30
Date: Thu, 28 Sep 2006 13:30
20 lines
1767 bytes
1767 bytes
Just a guess but I would expect the time to be expressed as a FILETIME structure. Both FILETIME and LARGE_INTEGER contain two 4 byte numbers. Try using a cast to FILETIME. . Ed > Ron Sawyer wrote in message > news:451bcbac$1@newsgroups.borland.com... > > I am writing a custom GINA. The portion that I am dealing with > deals with password expiration. The MSV1_0_INTERACTIVE_PROFILE > has a data member that is a LARGE_INTEGER called > PasswordMustChange. The help file says: > > Time and date when the user must change the password. If the user > can never change the password, this member is undefined. This is > an absolute-format, Windows, standard time value. > > I cannot find any documentation on converting this. Can anyone point > me in the right direction?
Technical Details
Message-ID:
<451bce83@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<451bcbac$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,570873bcff9b512c X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <451bcbac$1@newsgroups.borland.com> Subject: Re: Converting LARGE_INTEGER to Date/Time Date: Thu, 28 Sep 2006 09:30:40 -0400 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.242.35.97 Message-ID: <451bce83@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1159450243 69.242.35.97 (28 Sep 2006 06:30:43 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail