Partager via


DXPMSAMPLE_Alloca function

Allocates an array of DXPMSAMPLE structures.

Syntax

HRESULT DXPMSAMPLE_Alloca(
  _In_ int ulNumSamples
);

Parameters

  • ulNumSamples [in]
    A value of type int that specifies the number of samples to allocate.

Return value

Returns a pointer to the array of samples, or NULL if the allocation fails.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxhelper.h