IPhotoAcquireSettings::GetOutputFilenameTemplate method (photoacquire.h)
The GetOutputFilenameTemplate
method retrieves a format string (template) that specifies the format of file names.
Syntax
HRESULT GetOutputFilenameTemplate(
[out] BSTR *pbstrTemplate
);
Parameters
[out] pbstrTemplate
Pointer to a string containing the format string.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Remarks
Format strings contain a mix of path literals and tokens. A format string looks like the following:
$(MyPicturesFolder)\$(DateAcquired), $(EventName)\$(EventName) $(SequenceNumber).$(OriginalExtension)
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for