🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4293

Re: PVOID and Borland data types

#4293
From: Remy Lebeau (TeamB)
Date: Tue, 07 Feb 2006 23:29
23 lines
1710 bytes
"Mike Collins" <its@thebottomofthe.post> wrote in message
news:43e8fa3d@newsgroups.borland.com...

> I'm looking at using the native registry api's.  So far I've got
> ZwOpenKey, ZwCreateKey, ZwSetValueKey, ZwDeleteKey,
> ZwClose

Those are kernel-level API functions, designed to only be called within
kernel drivers.  Why are you not using the user-level API functions instead?

    RegOpenKey/Ex()
    RegCreateKey/Ex()
    RegSetValue/Ex()
    RegDeleteKey/Ex()
    RegCloseKey()

> I'm struggling to get ZwQueryValueKey working to get my values back.

What EXACTLY ar you having difficulties with?  Please be more specific.


Gambit
Technical Details
Message-ID: <43e92c82$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-han1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43e7b1a5$1@newsgroups.borland.com> <43e7d7ce$1@newsgroups.borland.com> <43e7f718$1@newsgroups.borland.com> <43e8eb19@newsgroups.borland.com> <43e8fa3d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e5fa031ed46571ec
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <43e7b1a5$1@newsgroups.borland.com> <43e7d7ce$1@newsgroups.borland.com> <43e7f718$1@newsgroups.borland.com> <43e8eb19@newsgroups.borland.com> <43e8fa3d@newsgroups.borland.com>
Subject: Re: PVOID and Borland data types
Date: Tue, 7 Feb 2006 15:29:01 -0800
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43e92c82$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139354754 68.69.17.41 (7 Feb 2006 15:25:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news-han1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail