Unresolved Externals

Hi,

I am using the function IoGetConfirmationInformation to get the list of harddisks that are attached to my computer using VC++, however i always get a Linker error which is

1 : error LNK2001: unresolved external symbol “__declspec(dllimport) struct _CONFIGURATION_INFORMATION * __cdecl IoGetConfigurationInformation(void)” (_imp?IoGetConfigurationInformation@@YAPAU_CONFIGURATION_INFORMATION@@XZ)

I think this is because i dont have a .lib file included … but i am not so sure… could someone please tell me what the solution is.

Thank You


Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

This function may only be called by a device driver, not by an application.

-----Original Message-----
From: anjita jachak [mailto:xxxxx@yahoo.com]
Sent: Tuesday, February 12, 2002 11:55 PM
To: File Systems Developers
Subject: [ntfsd] Unresolved Externals

Hi,

I am using the function IoGetConfirmationInformation to get the list of harddisks that are attached to my computer using VC++, however i always get a Linker error which is

1 : error LNK2001: unresolved external symbol “__declspec(dllimport) struct _CONFIGURATION_INFORMATION * __cdecl IoGetConfigurationInformation(void)” (_imp?IoGetConfigurationInformation@@YAPAU_CONFIGURATION_INFORMATION@@XZ)

I think this is because i dont have a .lib file included … but i am not so sure… could someone please tell me what the solution is.

Thank You


Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! http: Greetings! — You are currently subscribed to ntfsd as: xxxxx@inin.com To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>

Make it external “C”.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of anjita jachak
Sent: Wednesday, February 13, 2002 6:55 AM
To: File Systems Developers
Subject: [ntfsd] Unresolved Externals

Hi,
I am using the function IoGetConfirmationInformation to get the list of
harddisks that are attached to my computer using VC++, however i always
get a Linker error which is
1 : error LNK2001: unresolved external symbol “__declspec(dllimport)
struct _CONFIGURATION_INFORMATION * __cdecl
IoGetConfigurationInformation(void)”
(_imp?IoGetConfigurationInformation@@YAPAU_CONFIGURATION_INFORMATION@@
XZ)
I think this is because i dont have a .lib file included … but i am
not so sure… could someone please tell me what the solution is.
Thank You

Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings! — You are currently
subscribed to ntfsd as: xxxxx@vba.com.by To unsubscribe send a blank
email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com