Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The KsMapModuleName function returns the image name and resource identifier that corresponds to the PhysicalDeviceObject and ModuleName parameters.
Syntax
KSDDKAPI NTSTATUS KsMapModuleName(
[in] PDEVICE_OBJECT PhysicalDeviceObject,
[in] PUNICODE_STRING ModuleName,
[out] PUNICODE_STRING ImageName,
[out] PULONG_PTR ResourceId,
[out] PULONG ValueType
);
Parameters
[in] PhysicalDeviceObject
Pointer to a DEVICE_OBJECT for which to return the requested information.
[in] ModuleName
Pointer to a buffer that contains the module name for which to return the requested information.
[out] ImageName
A caller-allocated buffer that receives the image name for the specified resource.
[out] ResourceId
Pointer to a caller-supplied variable that receives the resource identifier.
[out] ValueType
Pointer to a location into which the function returns the value type of the specified resource.
Return value
KsMapModuleName returns STATUS_SUCCESS if the requested values are found; otherwise, the routine returns an error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ks.h (include Ks.h) |
Library | Ks.lib |