我想在我的程序中使用这个API函数,acmDriverDetails,我的声明是这样的:
function acmDriverDetails(hadid: HACMDRIVERID; padd: PACMDRIVERDETAILS; fdwDetails: DWORD): DWord; stdcall; external 'msacm32.dll';程序运行时出现提示:
无法定位程序输入点acmDriverDetails 于动态链接库msacm32.dll上。请大家帮帮忙:
MSDN的链接是这里:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_acmdriverdetails_str.asp
function acmDriverDetails(hadid: HACMDRIVERID; padd: PACMDRIVERDETAILS; fdwDetails: DWORD): DWord; stdcall; external 'msacm32.dll';程序运行时出现提示:
无法定位程序输入点acmDriverDetails 于动态链接库msacm32.dll上。请大家帮帮忙:
MSDN的链接是这里:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_acmdriverdetails_str.asp
DWORD cbStruct;
FOURCC fccType;
FOURCC fccComp;
WORD wMid;
WORD wPid;
DWORD vdwACM;
DWORD vdwDriver;
DWORD fdwSupport;
DWORD cFormatTags;
DWORD cFilterTags;
HICON hicon;
char szShortName[ACMDRIVERDETAILS_SHORTNAME_CHARS];
char szLongName[ACMDRIVERDETAILS_LONGNAME_CHARS];
char szCopyright[ACMDRIVERDETAILS_COPYRIGHT_CHARS];
char szLicensing[ACMDRIVERDETAILS_LICENSING_CHARS]; char szFeatures[ACMDRIVERDETAILS_FEATURES_CHARS];
} ACMDRIVERDETAILS;
LPACMDRIVERDETAILS padd,
DWORD fdwDetails
);
ParametershadidHandle of the driver identifier of an installed ACM driver. Disabled drivers can be queried for details.paddAddress of an ACMDRIVERDETAILS structure that will receive the driver details. The cbStruct member must be initialized to the size, in bytes, of the structure.fdwDetailsReserved; must be zero. Return ValuesReturns zero if successful or an error otherwise. Possible error values include the following:MMSYSERR_INVALFLAG At least one flag is invalid.
MMSYSERR_INVALHANDLE The specified handle is invalid.
MMSYSERR_INVALPARAM At least one parameter is invalid.
msacm32 = 'msacm32.dll'; function acmDriverDetails; external msacm32 name 'acmDriverDetailsA';